Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01129/0.01129, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7652/0.7652, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.662/1.662, allocations: 223.2 MB / 406.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009663/0.0009663, allocations: 105.9 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004255/0.0004255, allocations: 12 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4462, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.716/5.162, allocations: 1.837 GB / 2.486 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/5.162, allocations: 87.95 kB / 2.486 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.067/9.229, allocations: 1.019 GB / 3.505 GB, free: 116.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.527e-06/9.229, allocations: 0 / 3.505 GB, free: 116.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001635/9.229, allocations: 41.77 kB / 3.505 GB, free: 116.9 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.009043/9.239, allocations: 2.043 MB / 3.507 GB, free: 116.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/9.239, allocations: 11.72 kB / 3.507 GB, free: 116.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005408/9.239, allocations: 142.4 kB / 3.508 GB, free: 116 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00442/9.244, allocations: 0.6883 MB / 3.508 GB, free: 115.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004002/9.248, allocations: 1.054 MB / 3.509 GB, free: 115.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.613e-05/9.248, allocations: 67.48 kB / 3.509 GB, free: 115.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/9.248, allocations: 88.94 kB / 3.509 GB, free: 115.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003049/9.251, allocations: 1.465 MB / 3.511 GB, free: 115.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/9.251, allocations: 3.5 kB / 3.511 GB, free: 115.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/9.251, allocations: 35.05 kB / 3.511 GB, free: 115.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.256e-05/9.251, allocations: 39.19 kB / 3.511 GB, free: 115.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003524/9.255, allocations: 1.385 MB / 3.512 GB, free: 115.4 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009486/9.264, allocations: 5.776 MB / 3.518 GB, free: 112.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003728/9.268, allocations: 1.385 MB / 3.519 GB, free: 112.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008247/9.269, allocations: 0.5929 MB / 3.52 GB, free: 111.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001963/9.271, allocations: 0.7896 MB / 3.521 GB, free: 111.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 3.857e-06/9.271, allocations: 0 / 3.521 GB, free: 111.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.006035/9.277, allocations: 2.075 MB / 3.523 GB, free: 111.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/9.277, allocations: 59.12 kB / 3.523 GB, free: 111.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/9.279, allocations: 1.101 MB / 3.524 GB, free: 111.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002392/9.279, allocations: 47.64 kB / 3.524 GB, free: 111.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004287/9.28, allocations: 0.5808 MB / 3.524 GB, free: 111.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003143/9.28, allocations: 279.1 kB / 3.525 GB, free: 111.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/9.28, allocations: 18.34 kB / 3.525 GB, free: 111.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.715e-05/9.28, allocations: 339.5 kB / 3.525 GB, free: 110.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001711/9.282, allocations: 0.6092 MB / 3.526 GB, free: 110.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/9.284, allocations: 0.9191 MB / 3.527 GB, free: 110.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/9.285, allocations: 0.6414 MB / 3.527 GB, free: 110.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/9.285, allocations: 6.422 kB / 3.527 GB, free: 110.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004299/9.29, allocations: 1.632 MB / 3.529 GB, free: 110.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/9.29, allocations: 9.984 kB / 3.529 GB, free: 110.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/9.29, allocations: 7.438 kB / 3.529 GB, free: 110.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.381e-05/9.29, allocations: 13.25 kB / 3.529 GB, free: 110.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/9.291, allocations: 320.3 kB / 3.529 GB, free: 110.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.443e-05/9.291, allocations: 18.95 kB / 3.529 GB, free: 110.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/9.293, allocations: 230.4 kB / 3.529 GB, free: 110.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/9.294, allocations: 58.22 kB / 3.529 GB, free: 110.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007899/9.294, allocations: 343.2 kB / 3.53 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000331/9.295, allocations: 134.7 kB / 3.53 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004037/9.299, allocations: 1.62 MB / 3.531 GB, free: 110 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/9.299, allocations: 7.344 kB / 3.531 GB, free: 110 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/9.299, allocations: 0 / 3.531 GB, free: 110 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/9.299, allocations: 3.891 kB / 3.531 GB, free: 110 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006862/9.306, allocations: 3.124 MB / 3.534 GB, free: 109.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/9.306, allocations: 3.969 kB / 3.535 GB, free: 109.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/9.307, allocations: 253.1 kB / 3.535 GB, free: 109.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-05/9.307, allocations: 11.62 kB / 3.535 GB, free: 109.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/9.307, allocations: 35.3 kB / 3.535 GB, free: 109.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/9.307, allocations: 10.05 kB / 3.535 GB, free: 109.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/9.307, allocations: 9.812 kB / 3.535 GB, free: 109.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005902/9.313, allocations: 2.74 MB / 3.537 GB, free: 108.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/9.314, allocations: 353.1 kB / 3.538 GB, free: 108.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003222/9.315, allocations: 25.05 kB / 3.538 GB, free: 108.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/9.316, allocations: 146.7 kB / 3.538 GB, free: 108.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/9.316, allocations: 68.27 kB / 3.538 GB, free: 108.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.56e-05/9.316, allocations: 44.69 kB / 3.538 GB, free: 108.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001145/9.318, allocations: 0.8503 MB / 3.539 GB, free: 108.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/9.318, allocations: 0 / 3.539 GB, free: 108.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002243/9.32, allocations: 0.5005 MB / 3.539 GB, free: 108.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009807/9.33, allocations: 6.287 MB / 3.546 GB, free: 105.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004212/9.334, allocations: 1.445 MB / 3.547 GB, free: 105.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/9.334, allocations: 0 / 3.547 GB, free: 105.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001906/9.336, allocations: 0.7294 MB / 3.548 GB, free: 105.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002986/9.339, allocations: 0.5544 MB / 3.548 GB, free: 105.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02866/9.368, allocations: 14.35 MB / 3.562 GB, free: 98.15 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006655/9.368, allocations: 1.21 MB / 3.563 GB, free: 97.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001975/9.37, allocations: 383.4 kB / 3.564 GB, free: 97.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008998/9.371, allocations: 0.5012 MB / 3.564 GB, free: 97.43 MB / 0.698 GB Notification: Performance of SimCode: time 1.142e-06/9.371, allocations: 0 / 3.564 GB, free: 97.43 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08816/9.459, allocations: 59.11 MB / 3.622 GB, free: 44.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/9.46, allocations: 229 kB / 3.622 GB, free: 44.07 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.398/13.86, allocations: 4.062 kB / 3.622 GB, free: 44.06 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)