Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.307/2.307, allocations: 390.5 MB / 398 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 180.8 kB / 491.2 MB, free: 1.559 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.126/2.126, allocations: 221.5 MB / 0.7868 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009585/0.0009584, allocations: 97.2 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.688e-05/2.661e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3925, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.085/6.477, allocations: 1.874 GB / 3.086 GB, free: 432 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/6.477, allocations: 88.41 kB / 3.086 GB, free: 432 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.576/10.05, allocations: 1.007 GB / 4.093 GB, free: 260.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.525e-06/10.05, allocations: 0 / 4.093 GB, free: 260.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002171/10.05, allocations: 41.08 kB / 4.093 GB, free: 260.6 MB / 1.151 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.008378/10.06, allocations: 1.843 MB / 4.095 GB, free: 259.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/10.06, allocations: 10.75 kB / 4.095 GB, free: 259.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004376/10.07, allocations: 0.6881 MB / 4.096 GB, free: 259.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003706/10.07, allocations: 1.052 MB / 4.097 GB, free: 259.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.744e-05/10.07, allocations: 24.91 kB / 4.097 GB, free: 259.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003314/10.07, allocations: 56.22 kB / 4.097 GB, free: 259.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00172/10.07, allocations: 0.8366 MB / 4.097 GB, free: 259.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/10.07, allocations: 1.147 MB / 4.099 GB, free: 259.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/10.07, allocations: 3.844 kB / 4.099 GB, free: 259.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/10.07, allocations: 5.75 kB / 4.099 GB, free: 259.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.995e-05/10.07, allocations: 47.94 kB / 4.099 GB, free: 259.3 MB / 1.151 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.008173/10.08, allocations: 5.57 MB / 4.104 GB, free: 256.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/10.08, allocations: 0.9057 MB / 4.105 GB, free: 256.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005901/10.08, allocations: 477.8 kB / 4.105 GB, free: 256.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007463/10.08, allocations: 0.5842 MB / 4.106 GB, free: 255.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000808/10.09, allocations: 0.5742 MB / 4.107 GB, free: 255.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=80): time 3.426e-06/10.09, allocations: 0 / 4.107 GB, free: 255.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=80): time 0.002365/10.09, allocations: 1.063 MB / 4.108 GB, free: 255.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/10.09, allocations: 63.47 kB / 4.108 GB, free: 255.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/10.09, allocations: 0.8491 MB / 4.109 GB, free: 255.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/10.09, allocations: 29.33 kB / 4.109 GB, free: 255.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000451/10.09, allocations: 0.5919 MB / 4.109 GB, free: 255.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/10.09, allocations: 261.4 kB / 4.109 GB, free: 255.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.568e-05/10.09, allocations: 0 / 4.109 GB, free: 255.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.912e-05/10.09, allocations: 344.3 kB / 4.11 GB, free: 254.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005441/10.09, allocations: 404 kB / 4.11 GB, free: 254.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007269/10.09, allocations: 0.7052 MB / 4.111 GB, free: 254.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007284/10.09, allocations: 456 kB / 4.111 GB, free: 254.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/10.09, allocations: 6.656 kB / 4.111 GB, free: 254.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002014/10.09, allocations: 1.16 MB / 4.112 GB, free: 254.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/10.09, allocations: 11.94 kB / 4.112 GB, free: 254.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/10.09, allocations: 7.25 kB / 4.112 GB, free: 254.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.381e-05/10.09, allocations: 13.09 kB / 4.112 GB, free: 254.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/10.1, allocations: 325.3 kB / 4.113 GB, free: 254.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-05/10.1, allocations: 14.25 kB / 4.113 GB, free: 254.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/10.1, allocations: 187.9 kB / 4.113 GB, free: 254.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/10.1, allocations: 60.77 kB / 4.113 GB, free: 254.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0002529/10.1, allocations: 139.8 kB / 4.113 GB, free: 254.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0017/10.1, allocations: 1.008 MB / 4.114 GB, free: 254.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003152/10.1, allocations: 114.5 kB / 4.114 GB, free: 254 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/10.1, allocations: 1.158 MB / 4.115 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/10.1, allocations: 7.75 kB / 4.115 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.244e-05/10.1, allocations: 3.969 kB / 4.115 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/10.1, allocations: 3.516 kB / 4.115 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004331/10.11, allocations: 2.568 MB / 4.118 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/10.11, allocations: 6.906 kB / 4.118 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/10.11, allocations: 248.5 kB / 4.118 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.986e-05/10.11, allocations: 7 kB / 4.118 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/10.11, allocations: 36.03 kB / 4.118 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/10.11, allocations: 7.875 kB / 4.118 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/10.11, allocations: 6.375 kB / 4.118 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/10.11, allocations: 2.086 MB / 4.12 GB, free: 252.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006832/10.11, allocations: 329.6 kB / 4.12 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002927/10.11, allocations: 11.5 kB / 4.12 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/10.11, allocations: 130.1 kB / 4.121 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/10.11, allocations: 66.78 kB / 4.121 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-05/10.11, allocations: 41.94 kB / 4.121 GB, free: 252.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009189/10.11, allocations: 0.6412 MB / 4.121 GB, free: 252.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 2e-07/10.11, allocations: 0 / 4.121 GB, free: 252.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001824/10.12, allocations: 455.3 kB / 4.122 GB, free: 252.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (86): * Single equations (assignments): 80 * 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.006127/10.12, allocations: 5.777 MB / 4.127 GB, free: 249.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001822/10.12, allocations: 0.9988 MB / 4.128 GB, free: 249.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/10.12, allocations: 0 / 4.128 GB, free: 249.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009/10.13, allocations: 0.5149 MB / 4.129 GB, free: 249.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/10.13, allocations: 420.1 kB / 4.129 GB, free: 249.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/10.14, allocations: 2.93 MB / 4.132 GB, free: 249.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008055/10.14, allocations: 1.207 MB / 4.133 GB, free: 248.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001823/10.15, allocations: 347.6 kB / 4.134 GB, free: 248.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009029/10.15, allocations: 0.4961 MB / 4.134 GB, free: 248.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.183e-06/10.15, allocations: 3.938 kB / 4.134 GB, free: 248.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08286/10.23, allocations: 40.43 MB / 4.174 GB, free: 219.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/10.23, allocations: 184.7 kB / 4.174 GB, free: 219.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.374/13.6, allocations: 0 / 4.174 GB, free: 219.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat does not exist to compare? outputFormat=mat