Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json 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/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.411/2.411, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003383, allocations: 12 kB / 0.8375 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.719/0.7194, allocations: 146.8 MB / 0.9809 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02582/0.7453, allocations: 24.58 MB / 1.005 GB, free: 13.65 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.009716/0.755, allocations: 5.949 MB / 1.011 GB, free: 7.691 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.7564, allocations: 39.69 kB / 1.011 GB, free: 7.652 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.7581, allocations: 0.638 MB / 1.011 GB, free: 7.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003468/0.7616, allocations: 1.211 MB / 1.013 GB, free: 5.797 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003471/0.7651, allocations: 1.307 MB / 1.014 GB, free: 4.512 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00266/0.7677, allocations: 1.572 MB / 1.015 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.7688, allocations: 0.6742 MB / 1.016 GB, free: 2.254 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.7704, allocations: 0.833 MB / 1.017 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000687/0.7711, allocations: 0.564 MB / 1.017 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.554e-05/0.7712, allocations: 36 kB / 1.017 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.7727, allocations: 0.5305 MB / 1.018 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.7729, allocations: 231.1 kB / 1.018 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0002611/0.7732, allocations: 229.1 kB / 1.018 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.7745, allocations: 1.023 MB / 1.019 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.7745, allocations: 0 / 1.019 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7745, allocations: 0 / 1.019 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.7745, allocations: 0 / 1.019 GB, free: 14.8 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002425/0.7769, allocations: 1.378 MB / 1.021 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.777, allocations: 12.03 kB / 1.021 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/0.7771, allocations: 114.5 kB / 1.021 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003393/0.7805, allocations: 0.6266 MB / 1.021 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.7821, allocations: 0.7701 MB / 1.022 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.55e-05/0.7821, allocations: 58 kB / 1.022 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.7823, allocations: 75.91 kB / 1.022 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/0.7846, allocations: 1.099 MB / 1.023 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.7847, allocations: 3.938 kB / 1.023 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.549e-05/0.7847, allocations: 32 kB / 1.023 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.7848, allocations: 20 kB / 1.023 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00302/0.7878, allocations: 1.024 MB / 1.024 GB, free: 9.398 MB / 0.7794 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.006079/0.7939, allocations: 4.951 MB / 1.029 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/0.7968, allocations: 0.9537 MB / 1.03 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/0.7984, allocations: 1.596 MB / 1.032 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001642/0.8, allocations: 0.5884 MB / 1.032 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=61): time 2.946e-06/0.8, allocations: 4 kB / 1.032 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of matching and sorting (n=61): time 0.004651/0.8047, allocations: 1.508 MB / 1.034 GB, free: 15.13 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.8048, allocations: 55.97 kB / 1.034 GB, free: 15.06 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.8062, allocations: 1.108 MB / 1.035 GB, free: 13.94 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.193e-05/0.8063, allocations: 45.7 kB / 1.035 GB, free: 13.89 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000459/0.8067, allocations: 0.5357 MB / 1.036 GB, free: 13.35 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.8069, allocations: 217 kB / 1.036 GB, free: 13.13 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.807, allocations: 16 kB / 1.036 GB, free: 13.12 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.8072, allocations: 337.9 kB / 1.036 GB, free: 12.78 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001471/0.8086, allocations: 461.6 kB / 1.036 GB, free: 12.33 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.8102, allocations: 0.7203 MB / 1.037 GB, free: 11.5 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.8117, allocations: 0.49 MB / 1.038 GB, free: 11.01 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.8117, allocations: 0 / 1.038 GB, free: 11.01 MB / 0.795 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003496/0.8152, allocations: 1.289 MB / 1.039 GB, free: 9.711 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.8153, allocations: 8.938 kB / 1.039 GB, free: 9.703 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.8153, allocations: 11.98 kB / 1.039 GB, free: 9.691 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-05/0.8153, allocations: 12 kB / 1.039 GB, free: 9.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.8165, allocations: 283.6 kB / 1.039 GB, free: 9.402 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.8166, allocations: 11.94 kB / 1.039 GB, free: 9.391 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.8179, allocations: 202.9 kB / 1.039 GB, free: 9.191 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.818, allocations: 51.97 kB / 1.039 GB, free: 9.141 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0004837/0.8185, allocations: 299.7 kB / 1.04 GB, free: 8.836 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.8187, allocations: 118.5 kB / 1.04 GB, free: 8.719 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003777/0.8225, allocations: 1.378 MB / 1.041 GB, free: 7.328 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.8225, allocations: 11.94 kB / 1.041 GB, free: 7.316 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.8225, allocations: 0 / 1.041 GB, free: 7.316 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.8225, allocations: 3.984 kB / 1.041 GB, free: 7.312 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005086/0.8276, allocations: 2.401 MB / 1.044 GB, free: 4.844 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.8277, allocations: 4 kB / 1.044 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.8287, allocations: 188 kB / 1.044 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.8287, allocations: 7.984 kB / 1.044 GB, free: 4.648 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.206e-05/0.8288, allocations: 35.92 kB / 1.044 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.8288, allocations: 4 kB / 1.044 GB, free: 4.609 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.8288, allocations: 11.92 kB / 1.044 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005149/0.834, allocations: 2.073 MB / 1.046 GB, free: 2.457 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005807/0.8346, allocations: 283.4 kB / 1.046 GB, free: 2.16 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.8347, allocations: 15.95 kB / 1.046 GB, free: 2.145 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000965/0.8357, allocations: 131.8 kB / 1.046 GB, free: 2.016 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.8358, allocations: 52.44 kB / 1.046 GB, free: 1.965 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.382e-05/0.8359, allocations: 31.97 kB / 1.046 GB, free: 1.934 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009573/0.8369, allocations: 0.7599 MB / 1.047 GB, free: 1.168 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.21e-07/0.8369, allocations: 4 kB / 1.047 GB, free: 1.164 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00115/0.838, allocations: 335.6 kB / 1.047 GB, free: 0.8359 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.006698/0.8447, allocations: 3.566 MB / 1.051 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003318/0.8481, allocations: 1.126 MB / 1.052 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.8481, allocations: 4 kB / 1.052 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.8498, allocations: 0.5775 MB / 1.053 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.8518, allocations: 436.6 kB / 1.053 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01636/0.8682, allocations: 12.53 MB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006376/0.8688, allocations: 1.133 MB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001109/0.87, allocations: 248.6 kB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006102/0.8706, allocations: 459.2 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of SimCode: time 1.273e-06/0.8706, allocations: 3.938 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05044/0.921, allocations: 29.09 MB / 1.095 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.9213, allocations: 234.9 kB / 1.096 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.689/3.61, allocations: 0 / 1.096 GB, free: 15.5 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat does not exist to compare? outputFormat=mat