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.8726/0.8726, allocations: 143.3 MB / 158.3 MB, free: 5.621 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 181 kB / 191.5 MB, free: 5.676 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.591/1.591, allocations: 223.2 MB / 447.7 MB, free: 4.859 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.001031/0.001031, allocations: 84.33 kB / 0.5187 GB, free: 1.215 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001868/0.001868, allocations: 276.1 kB / 0.6005 GB, free: 48.79 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004925/0.0004925, allocations: 14 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1818, allocations: 82.8 MB / 0.7738 GB, free: 13.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.953/5.135, allocations: 1.834 GB / 2.608 GB, free: 188.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/5.135, allocations: 90.86 kB / 2.608 GB, free: 188.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.446/7.581, allocations: 0.6876 GB / 3.296 GB, free: 66.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.884e-06/7.581, allocations: 0 / 3.296 GB, free: 66.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001146/7.581, allocations: 43.98 kB / 3.296 GB, free: 66.86 MB / 0.7136 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.007545/7.589, allocations: 2.077 MB / 3.298 GB, free: 64.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/7.589, allocations: 8.031 kB / 3.298 GB, free: 64.72 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003541/7.589, allocations: 143.6 kB / 3.298 GB, free: 64.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004934/7.594, allocations: 0.8761 MB / 3.299 GB, free: 63.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004064/7.598, allocations: 1.168 MB / 3.3 GB, free: 62.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.281e-05/7.598, allocations: 66 kB / 3.3 GB, free: 62.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/7.599, allocations: 95.86 kB / 3.3 GB, free: 62.31 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003302/7.602, allocations: 1.56 MB / 3.302 GB, free: 60.72 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/7.602, allocations: 3.938 kB / 3.302 GB, free: 60.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/7.602, allocations: 32 kB / 3.302 GB, free: 60.69 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.038e-05/7.602, allocations: 45.97 kB / 3.302 GB, free: 60.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004118/7.606, allocations: 1.667 MB / 3.303 GB, free: 58.97 MB / 0.7136 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.009374/7.616, allocations: 5.045 MB / 3.308 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003876/7.62, allocations: 1.638 MB / 3.31 GB, free: 52.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/7.621, allocations: 0.9491 MB / 3.311 GB, free: 50.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002162/7.623, allocations: 0.9612 MB / 3.312 GB, free: 49.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=95): time 4.93e-06/7.623, allocations: 0 / 3.312 GB, free: 49.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.00721/7.63, allocations: 2.595 MB / 3.314 GB, free: 47.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/7.63, allocations: 60.41 kB / 3.314 GB, free: 47.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/7.632, allocations: 1.078 MB / 3.315 GB, free: 46.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001873/7.632, allocations: 53.64 kB / 3.316 GB, free: 46.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/7.632, allocations: 0.5527 MB / 3.316 GB, free: 45.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002921/7.633, allocations: 323.4 kB / 3.316 GB, free: 45.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-05/7.633, allocations: 20 kB / 3.316 GB, free: 45.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.217e-05/7.633, allocations: 341.9 kB / 3.317 GB, free: 44.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/7.635, allocations: 0.7474 MB / 3.317 GB, free: 44.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/7.637, allocations: 1.009 MB / 3.318 GB, free: 43.03 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001967/7.639, allocations: 0.7758 MB / 3.319 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/7.639, allocations: 0 / 3.319 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004768/7.644, allocations: 1.877 MB / 3.321 GB, free: 40.37 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/7.644, allocations: 8 kB / 3.321 GB, free: 40.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/7.644, allocations: 4 kB / 3.321 GB, free: 40.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.23e-05/7.644, allocations: 8 kB / 3.321 GB, free: 40.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/7.646, allocations: 351.9 kB / 3.321 GB, free: 40.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/7.646, allocations: 11.94 kB / 3.321 GB, free: 40 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/7.648, allocations: 266.7 kB / 3.322 GB, free: 39.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/7.648, allocations: 55.95 kB / 3.322 GB, free: 39.68 MB / 0.7136 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 () * Number of clocked 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.0007599/7.649, allocations: 343.7 kB / 3.322 GB, free: 39.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/7.649, allocations: 138.3 kB / 3.322 GB, free: 39.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004789/7.654, allocations: 1.963 MB / 3.324 GB, free: 37.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/7.654, allocations: 8 kB / 3.324 GB, free: 37.22 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/7.654, allocations: 3.938 kB / 3.324 GB, free: 37.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/7.654, allocations: 7.969 kB / 3.324 GB, free: 37.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007859/7.662, allocations: 3.591 MB / 3.328 GB, free: 33.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/7.662, allocations: 4.031 kB / 3.328 GB, free: 33.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/7.663, allocations: 319.5 kB / 3.328 GB, free: 33.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.621e-05/7.663, allocations: 12 kB / 3.328 GB, free: 33.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/7.664, allocations: 35.97 kB / 3.328 GB, free: 33.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.426e-05/7.664, allocations: 15.92 kB / 3.328 GB, free: 33.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/7.664, allocations: 4 kB / 3.328 GB, free: 33.13 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007137/7.671, allocations: 3.266 MB / 3.331 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/7.672, allocations: 367.1 kB / 3.332 GB, free: 29.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/7.672, allocations: 27.98 kB / 3.332 GB, free: 29.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/7.674, allocations: 179.7 kB / 3.332 GB, free: 29.14 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/7.674, allocations: 80.84 kB / 3.332 GB, free: 29.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/7.674, allocations: 47.89 kB / 3.332 GB, free: 29.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001321/7.676, allocations: 0.8395 MB / 3.333 GB, free: 28.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/7.676, allocations: 4 kB / 3.333 GB, free: 28.17 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002534/7.678, allocations: 0.527 MB / 3.333 GB, free: 27.64 MB / 0.7136 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) * Number of clocked states: 0 () * 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.01087/7.689, allocations: 6.805 MB / 3.34 GB, free: 20.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004698/7.694, allocations: 1.731 MB / 3.342 GB, free: 19.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/7.694, allocations: 0 / 3.342 GB, free: 19.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002214/7.696, allocations: 0.8966 MB / 3.342 GB, free: 18.17 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003042/7.699, allocations: 0.6025 MB / 3.343 GB, free: 17.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02883/7.728, allocations: 13.14 MB / 3.356 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006379/7.729, allocations: 1.216 MB / 3.357 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001942/7.731, allocations: 413.9 kB / 3.357 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008259/7.731, allocations: 0.5227 MB / 3.358 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of SimCode: time 9.81e-07/7.731, allocations: 0 / 3.358 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7398/8.471, allocations: 61.29 MB / 3.418 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/8.472, allocations: 233.9 kB / 3.418 GB, free: 123.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.835/13.31, allocations: 4 kB / 3.418 GB, free: 123.2 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)