Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",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.001411/0.001411, allocations: 180.9 kB / 7.651 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.8602/0.8602, allocations: 133.6 MB / 141.6 MB, free: 2.926 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.507/1.507, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.001039/0.001038, allocations: 100.6 kB / 478.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.807e-05/3.795e-05, allocations: 4 kB / 0.5535 GB, free: 8.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5851/0.5852, allocations: 82.3 MB / 0.6339 GB, free: 40.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.978/5.563, allocations: 1.836 GB / 2.47 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/5.563, allocations: 82.89 kB / 2.47 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.807/8.37, allocations: 0.678 GB / 3.148 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.272e-06/8.37, allocations: 0 / 3.148 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001026/8.37, allocations: 47.97 kB / 3.148 GB, free: 3.121 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006866/8.377, allocations: 1.857 MB / 3.15 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/8.377, allocations: 12.03 kB / 3.15 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005389/8.383, allocations: 0.88 MB / 3.151 GB, free: 324 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5173/8.9, allocations: 1.133 MB / 3.152 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.749e-05/8.9, allocations: 28.28 kB / 3.152 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003095/8.9, allocations: 55.59 kB / 3.152 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002293/8.903, allocations: 0.9971 MB / 3.153 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/8.905, allocations: 1.171 MB / 3.154 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/8.905, allocations: 3.469 kB / 3.154 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/8.905, allocations: 1.734 kB / 3.154 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.297e-05/8.905, allocations: 44.45 kB / 3.154 GB, free: 116.4 MB / 0.6823 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.01028/8.916, allocations: 4.817 MB / 3.159 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/8.917, allocations: 1.077 MB / 3.16 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007369/8.918, allocations: 0.5695 MB / 3.16 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/8.919, allocations: 0.9421 MB / 3.161 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009392/8.92, allocations: 0.6794 MB / 3.162 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=95): time 3.015e-06/8.92, allocations: 3.062 kB / 3.162 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95): time 0.003092/8.923, allocations: 1.287 MB / 3.163 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/8.923, allocations: 62.59 kB / 3.163 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/8.924, allocations: 0.8151 MB / 3.164 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001364/8.925, allocations: 32.98 kB / 3.164 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004505/8.925, allocations: 0.5521 MB / 3.165 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/8.925, allocations: 314 kB / 3.165 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.079e-05/8.925, allocations: 0 / 3.165 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.306e-05/8.926, allocations: 342.7 kB / 3.165 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007188/8.926, allocations: 475.2 kB / 3.166 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007734/8.927, allocations: 0.6918 MB / 3.166 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007699/8.928, allocations: 0.5057 MB / 3.167 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/8.928, allocations: 6.5 kB / 3.167 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002047/8.93, allocations: 1.271 MB / 3.168 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/8.93, allocations: 9.594 kB / 3.168 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/8.93, allocations: 6.688 kB / 3.168 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/8.93, allocations: 10.66 kB / 3.168 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/8.932, allocations: 352.3 kB / 3.169 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/8.932, allocations: 13.75 kB / 3.169 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/8.934, allocations: 213.1 kB / 3.169 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/8.934, allocations: 58.7 kB / 3.169 GB, free: 112.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0002804/8.934, allocations: 141.9 kB / 3.169 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0019/8.936, allocations: 1.17 MB / 3.17 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/8.936, allocations: 118.3 kB / 3.17 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/8.939, allocations: 1.36 MB / 3.172 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.569e-05/8.939, allocations: 10.19 kB / 3.172 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/8.939, allocations: 3.875 kB / 3.172 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/8.94, allocations: 7.828 kB / 3.172 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005441/8.945, allocations: 2.896 MB / 3.174 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/8.945, allocations: 3.219 kB / 3.174 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001825/8.947, allocations: 318.1 kB / 3.175 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.042e-05/8.947, allocations: 7.812 kB / 3.175 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/8.947, allocations: 24.83 kB / 3.175 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/8.947, allocations: 11.5 kB / 3.175 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/8.947, allocations: 7.844 kB / 3.175 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00353/8.951, allocations: 2.386 MB / 3.177 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007531/8.951, allocations: 353.5 kB / 3.177 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/8.952, allocations: 10.47 kB / 3.177 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/8.953, allocations: 166.1 kB / 3.178 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/8.953, allocations: 78.39 kB / 3.178 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/8.953, allocations: 45.98 kB / 3.178 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009463/8.954, allocations: 0.6272 MB / 3.178 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.41e-07/8.954, allocations: 3.688 kB / 3.178 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001626/8.956, allocations: 473.1 kB / 3.179 GB, free: 110.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * 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.006266/8.962, allocations: 6.086 MB / 3.185 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002064/8.964, allocations: 1.152 MB / 3.186 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/8.964, allocations: 0 / 3.186 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009555/8.965, allocations: 0.6123 MB / 3.186 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002786/8.968, allocations: 435.4 kB / 3.187 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/8.984, allocations: 3.28 MB / 3.19 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006408/8.985, allocations: 1.219 MB / 3.191 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001715/8.987, allocations: 372.3 kB / 3.192 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008263/8.987, allocations: 0.5039 MB / 3.192 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.002e-06/8.987, allocations: 0 / 3.192 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/9.098, allocations: 41.97 MB / 3.233 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002655/9.099, allocations: 172.1 kB / 3.233 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.002/13.1, allocations: 0 / 3.233 GB, free: 105.1 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)