Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6941/0.6941, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 183.5 kB / 187.3 MB, free: 11.9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0008102/0.0008102, allocations: 98.58 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001596/0.001596, allocations: 267.2 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.318e-05/3.32e-05, allocations: 8 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3371, allocations: 82.75 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.512/3.849, allocations: 1.834 GB / 2.599 GB, free: 214 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001771/3.849, allocations: 87.89 kB / 2.599 GB, free: 213.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.798/5.647, allocations: 0.687 GB / 3.286 GB, free: 41.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.212e-06/5.647, allocations: 4 kB / 3.286 GB, free: 41.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000103/5.647, allocations: 51.91 kB / 3.286 GB, free: 41.81 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005913/5.653, allocations: 1.872 MB / 3.288 GB, free: 39.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/5.653, allocations: 8.031 kB / 3.288 GB, free: 39.88 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002025/5.654, allocations: 139.6 kB / 3.288 GB, free: 39.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004735/5.658, allocations: 0.8799 MB / 3.289 GB, free: 38.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003396/5.662, allocations: 1.168 MB / 3.29 GB, free: 37.63 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.487e-05/5.662, allocations: 66 kB / 3.29 GB, free: 37.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/5.662, allocations: 91.95 kB / 3.29 GB, free: 37.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/5.664, allocations: 1.279 MB / 3.291 GB, free: 36.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/5.664, allocations: 3.938 kB / 3.291 GB, free: 36.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/5.664, allocations: 36 kB / 3.291 GB, free: 36.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/5.664, allocations: 37.98 kB / 3.291 GB, free: 36.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/5.665, allocations: 1.14 MB / 3.292 GB, free: 34.95 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.006559/5.672, allocations: 5.037 MB / 3.297 GB, free: 29.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/5.673, allocations: 1.111 MB / 3.298 GB, free: 28.56 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007061/5.674, allocations: 0.5961 MB / 3.299 GB, free: 27.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009947/5.675, allocations: 0.9528 MB / 3.3 GB, free: 26.83 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000867/5.676, allocations: 0.7047 MB / 3.301 GB, free: 26.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=95): time 3.336e-06/5.676, allocations: 0 / 3.301 GB, free: 26.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.002455/5.678, allocations: 1.307 MB / 3.302 GB, free: 24.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/5.678, allocations: 64.19 kB / 3.302 GB, free: 24.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/5.679, allocations: 1.06 MB / 3.303 GB, free: 23.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/5.68, allocations: 49.69 kB / 3.303 GB, free: 23.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/5.68, allocations: 0.5566 MB / 3.304 GB, free: 23.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/5.68, allocations: 323.3 kB / 3.304 GB, free: 22.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.708e-05/5.68, allocations: 20 kB / 3.304 GB, free: 22.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.885e-05/5.68, allocations: 345.9 kB / 3.304 GB, free: 22.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006364/5.681, allocations: 489.8 kB / 3.305 GB, free: 21.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007498/5.682, allocations: 0.7482 MB / 3.305 GB, free: 21.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006589/5.682, allocations: 0.5261 MB / 3.306 GB, free: 20.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.726e-06/5.682, allocations: 0 / 3.306 GB, free: 20.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001753/5.684, allocations: 1.347 MB / 3.307 GB, free: 19.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/5.684, allocations: 4 kB / 3.307 GB, free: 19.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/5.684, allocations: 4 kB / 3.307 GB, free: 19.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/5.684, allocations: 12 kB / 3.307 GB, free: 19.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/5.686, allocations: 359.8 kB / 3.308 GB, free: 18.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/5.686, allocations: 8 kB / 3.308 GB, free: 18.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/5.687, allocations: 266.7 kB / 3.308 GB, free: 18.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/5.687, allocations: 55.95 kB / 3.308 GB, free: 18.45 MB / 0.698 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.0002067/5.688, allocations: 178.9 kB / 3.308 GB, free: 18.26 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/5.688, allocations: 134.3 kB / 3.308 GB, free: 18.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/5.69, allocations: 1.441 MB / 3.31 GB, free: 16.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/5.69, allocations: 8 kB / 3.31 GB, free: 16.67 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/5.69, allocations: 4 kB / 3.31 GB, free: 16.67 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/5.69, allocations: 7.969 kB / 3.31 GB, free: 16.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003799/5.694, allocations: 3.066 MB / 3.313 GB, free: 13.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/5.694, allocations: 4 kB / 3.313 GB, free: 13.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/5.695, allocations: 312 kB / 3.313 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/5.695, allocations: 8 kB / 3.313 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-05/5.696, allocations: 43.95 kB / 3.313 GB, free: 13.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/5.696, allocations: 15.94 kB / 3.313 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/5.696, allocations: 7.938 kB / 3.313 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002619/5.698, allocations: 2.471 MB / 3.315 GB, free: 10.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005398/5.699, allocations: 371.1 kB / 3.316 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/5.699, allocations: 24 kB / 3.316 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/5.7, allocations: 179.8 kB / 3.316 GB, free: 9.918 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/5.7, allocations: 76.58 kB / 3.316 GB, free: 9.844 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.941e-05/5.701, allocations: 43.97 kB / 3.316 GB, free: 9.801 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000812/5.701, allocations: 0.8295 MB / 3.317 GB, free: 8.965 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/5.701, allocations: 0 / 3.317 GB, free: 8.965 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001469/5.703, allocations: 0.523 MB / 3.317 GB, free: 8.441 MB / 0.698 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.005449/5.708, allocations: 5.976 MB / 3.323 GB, free: 2.395 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001732/5.71, allocations: 1.21 MB / 3.324 GB, free: 1.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/5.71, allocations: 4 kB / 3.324 GB, free: 1.176 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008111/5.711, allocations: 0.6343 MB / 3.325 GB, free: 0.543 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/5.714, allocations: 0.5947 MB / 3.326 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/5.728, allocations: 3.4 MB / 3.329 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006445/5.729, allocations: 1.224 MB / 3.33 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001593/5.73, allocations: 402 kB / 3.331 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008264/5.731, allocations: 0.5227 MB / 3.331 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of SimCode: time 2.805e-06/5.731, allocations: 0 / 3.331 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4181/6.149, allocations: 65.67 MB / 3.395 GB, free: 126.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/6.149, allocations: 202.4 kB / 3.395 GB, free: 126.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.851/10, allocations: 5.328 kB / 3.395 GB, free: 126.4 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)