Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.001441/0.001441, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.89/0.89, allocations: 133.6 MB / 141.6 MB, free: 2.844 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.678/1.678, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0009491/0.0009495, allocations: 101.6 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.578e-05/2.606e-05, allocations: 4 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4433, allocations: 82.3 MB / 0.6339 GB, free: 40.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.398/5.841, allocations: 1.836 GB / 2.47 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/5.841, allocations: 79.95 kB / 2.47 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.081/9.922, allocations: 1.006 GB / 3.477 GB, free: 126.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.034e-06/9.922, allocations: 0.75 kB / 3.477 GB, free: 126.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001398/9.923, allocations: 48.44 kB / 3.477 GB, free: 126.6 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.007673/9.93, allocations: 1.82 MB / 3.478 GB, free: 125.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/9.93, allocations: 8.562 kB / 3.478 GB, free: 125.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004934/9.935, allocations: 0.6968 MB / 3.479 GB, free: 125.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003903/9.939, allocations: 1.054 MB / 3.48 GB, free: 125.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.527e-05/9.939, allocations: 26.34 kB / 3.48 GB, free: 125.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002725/9.94, allocations: 55.56 kB / 3.48 GB, free: 125.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001724/9.941, allocations: 0.8638 MB / 3.481 GB, free: 125.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/9.943, allocations: 1.144 MB / 3.482 GB, free: 125.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/9.943, allocations: 3.875 kB / 3.482 GB, free: 125.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/9.943, allocations: 0 / 3.482 GB, free: 125.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.285e-05/9.943, allocations: 51.69 kB / 3.482 GB, free: 125.3 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.007723/9.951, allocations: 5.083 MB / 3.487 GB, free: 122.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/9.953, allocations: 0.8784 MB / 3.488 GB, free: 122.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006379/9.953, allocations: 481.1 kB / 3.488 GB, free: 122.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/9.954, allocations: 0.9412 MB / 3.489 GB, free: 122 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008459/9.955, allocations: 0.5903 MB / 3.49 GB, free: 121.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 3.627e-06/9.955, allocations: 0 / 3.49 GB, free: 121.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.002938/9.958, allocations: 1.128 MB / 3.491 GB, free: 121.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/9.958, allocations: 60.19 kB / 3.491 GB, free: 121.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/9.959, allocations: 0.8424 MB / 3.492 GB, free: 121.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.184e-05/9.96, allocations: 29.61 kB / 3.492 GB, free: 121.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/9.96, allocations: 0.5851 MB / 3.493 GB, free: 121.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003132/9.96, allocations: 269.1 kB / 3.493 GB, free: 121.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.909e-05/9.96, allocations: 1.219 kB / 3.493 GB, free: 121.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.587e-05/9.96, allocations: 345.9 kB / 3.493 GB, free: 120.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006516/9.961, allocations: 409.1 kB / 3.494 GB, free: 120.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008098/9.962, allocations: 0.6889 MB / 3.494 GB, free: 120.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007285/9.963, allocations: 465.3 kB / 3.495 GB, free: 120.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/9.963, allocations: 3.5 kB / 3.495 GB, free: 120.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0019/9.965, allocations: 1.162 MB / 3.496 GB, free: 120.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/9.965, allocations: 8.531 kB / 3.496 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/9.965, allocations: 6.062 kB / 3.496 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.285e-05/9.965, allocations: 13.16 kB / 3.496 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/9.966, allocations: 311.5 kB / 3.496 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/9.966, allocations: 18.19 kB / 3.496 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/9.968, allocations: 182 kB / 3.496 GB, free: 120.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/9.968, allocations: 60.42 kB / 3.496 GB, free: 120.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 () * 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.0002593/9.969, allocations: 137 kB / 3.496 GB, free: 120.3 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001824/9.97, allocations: 1.023 MB / 3.497 GB, free: 120.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/9.971, allocations: 119.3 kB / 3.498 GB, free: 120.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/9.973, allocations: 1.177 MB / 3.499 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/9.973, allocations: 10.12 kB / 3.499 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/9.973, allocations: 3.703 kB / 3.499 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/9.973, allocations: 8.641 kB / 3.499 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004493/9.977, allocations: 2.601 MB / 3.501 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/9.977, allocations: 6.906 kB / 3.501 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/9.979, allocations: 254.7 kB / 3.502 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.14e-05/9.979, allocations: 7.875 kB / 3.502 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.611e-05/9.979, allocations: 27.44 kB / 3.502 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.479e-05/9.979, allocations: 16.25 kB / 3.502 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/9.979, allocations: 5.438 kB / 3.502 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00401/9.983, allocations: 2.119 MB / 3.504 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/9.984, allocations: 334.9 kB / 3.504 GB, free: 118.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/9.984, allocations: 11.06 kB / 3.504 GB, free: 118.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/9.986, allocations: 129.7 kB / 3.504 GB, free: 118.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/9.986, allocations: 65.33 kB / 3.504 GB, free: 118.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-05/9.986, allocations: 45.38 kB / 3.504 GB, free: 118.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00107/9.987, allocations: 0.6391 MB / 3.505 GB, free: 118.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/9.987, allocations: 0 / 3.505 GB, free: 118.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002356/9.99, allocations: 452.2 kB / 3.505 GB, free: 118.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * 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.006889/9.996, allocations: 5.791 MB / 3.511 GB, free: 116 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001712/9.998, allocations: 0.996 MB / 3.512 GB, free: 116 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/9.998, allocations: 6.812 kB / 3.512 GB, free: 116 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007116/9.999, allocations: 0.5175 MB / 3.512 GB, free: 116 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/10, allocations: 416.5 kB / 3.513 GB, free: 116 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004513/10.01, allocations: 2.239 MB / 3.515 GB, free: 115.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006386/10.01, allocations: 1.205 MB / 3.516 GB, free: 114.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001522/10.01, allocations: 353.4 kB / 3.517 GB, free: 114.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007901/10.01, allocations: 0.4996 MB / 3.517 GB, free: 114.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/10.01, allocations: 0 / 3.517 GB, free: 114.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09407/10.1, allocations: 40.65 MB / 3.557 GB, free: 112.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/10.1, allocations: 172.3 kB / 3.557 GB, free: 112.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.646/13.75, allocations: 0 / 3.557 GB, free: 112.6 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)