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.314/2.314, allocations: 390.3 MB / 402.8 MB, free: 6.656 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.001359/0.001359, allocations: 180.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.623/1.623, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.001067/0.001067, allocations: 95.89 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.543e-05/4.561e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.325, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.581/5.907, allocations: 1.875 GB / 3.093 GB, free: 433.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/5.907, allocations: 90.3 kB / 3.094 GB, free: 433.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.853/9.76, allocations: 1.018 GB / 4.112 GB, free: 264.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.645e-06/9.76, allocations: 3.125 kB / 4.112 GB, free: 264.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002599/9.76, allocations: 44.66 kB / 4.112 GB, free: 264.6 MB / 1.167 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.008895/9.769, allocations: 1.841 MB / 4.114 GB, free: 263.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/9.769, allocations: 7.719 kB / 4.114 GB, free: 263.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005857/9.77, allocations: 140.2 kB / 4.114 GB, free: 263.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004712/9.775, allocations: 0.6946 MB / 4.114 GB, free: 263.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004381/9.779, allocations: 1.045 MB / 4.115 GB, free: 263.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-05/9.779, allocations: 68.92 kB / 4.116 GB, free: 263.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000415/9.78, allocations: 83.34 kB / 4.116 GB, free: 263.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002887/9.782, allocations: 1.256 MB / 4.117 GB, free: 263.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/9.782, allocations: 3.938 kB / 4.117 GB, free: 263.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/9.783, allocations: 35.88 kB / 4.117 GB, free: 263.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-05/9.783, allocations: 44.73 kB / 4.117 GB, free: 263.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/9.785, allocations: 0.9911 MB / 4.118 GB, free: 263.2 MB / 1.167 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.01101/9.796, allocations: 5.799 MB / 4.124 GB, free: 259.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/9.798, allocations: 0.9273 MB / 4.124 GB, free: 259.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007921/9.798, allocations: 0.4933 MB / 4.125 GB, free: 259.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008202/9.799, allocations: 0.5767 MB / 4.125 GB, free: 258.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000987/9.8, allocations: 0.5939 MB / 4.126 GB, free: 258.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=80): time 3.737e-06/9.8, allocations: 0 / 4.126 GB, free: 258.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=80): time 0.002629/9.803, allocations: 1.1 MB / 4.127 GB, free: 257.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/9.803, allocations: 67.28 kB / 4.127 GB, free: 257.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/9.805, allocations: 1.079 MB / 4.128 GB, free: 257.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001594/9.805, allocations: 45.27 kB / 4.128 GB, free: 257.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000583/9.806, allocations: 0.5843 MB / 4.129 GB, free: 257 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003455/9.806, allocations: 280.8 kB / 4.129 GB, free: 256.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.853e-05/9.806, allocations: 19.41 kB / 4.129 GB, free: 256.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001355/9.807, allocations: 346.3 kB / 4.129 GB, free: 256.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007189/9.807, allocations: 415.2 kB / 4.13 GB, free: 256.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009471/9.808, allocations: 0.7267 MB / 4.131 GB, free: 255.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009042/9.809, allocations: 470.1 kB / 4.131 GB, free: 255.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/9.809, allocations: 2.844 kB / 4.131 GB, free: 255.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002666/9.812, allocations: 1.243 MB / 4.132 GB, free: 255.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/9.812, allocations: 12.66 kB / 4.132 GB, free: 255.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/9.812, allocations: 7.812 kB / 4.132 GB, free: 255.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.391e-05/9.812, allocations: 12.22 kB / 4.132 GB, free: 255.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/9.814, allocations: 320.8 kB / 4.133 GB, free: 255.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.062e-05/9.814, allocations: 16.02 kB / 4.133 GB, free: 255.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/9.816, allocations: 232 kB / 4.133 GB, free: 255.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002366/9.816, allocations: 61.72 kB / 4.133 GB, free: 255.1 MB / 1.167 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.0003964/9.816, allocations: 174.4 kB / 4.133 GB, free: 254.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005466/9.817, allocations: 133 kB / 4.133 GB, free: 254.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002784/9.82, allocations: 1.225 MB / 4.134 GB, free: 254.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/9.82, allocations: 9.469 kB / 4.134 GB, free: 254.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/9.82, allocations: 0 / 4.134 GB, free: 254.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/9.82, allocations: 3.844 kB / 4.134 GB, free: 254.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005938/9.826, allocations: 2.733 MB / 4.137 GB, free: 253.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/9.826, allocations: 3.625 kB / 4.137 GB, free: 253.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/9.827, allocations: 258.6 kB / 4.137 GB, free: 253.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-05/9.827, allocations: 7.812 kB / 4.137 GB, free: 253.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/9.827, allocations: 30.95 kB / 4.137 GB, free: 253.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.185e-05/9.827, allocations: 15.44 kB / 4.137 GB, free: 253.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/9.827, allocations: 7.828 kB / 4.137 GB, free: 253.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00335/9.831, allocations: 2.169 MB / 4.139 GB, free: 252.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009684/9.832, allocations: 350.5 kB / 4.14 GB, free: 251.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004209/9.832, allocations: 30.98 kB / 4.14 GB, free: 251.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/9.834, allocations: 138.4 kB / 4.14 GB, free: 251.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/9.834, allocations: 69.17 kB / 4.14 GB, free: 251.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/9.834, allocations: 43.83 kB / 4.14 GB, free: 251.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001564/9.836, allocations: 0.8372 MB / 4.141 GB, free: 251.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.8e-07/9.836, allocations: 0 / 4.141 GB, free: 251.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002431/9.838, allocations: 0.4941 MB / 4.141 GB, free: 251.4 MB / 1.167 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.007426/9.845, allocations: 5.667 MB / 4.147 GB, free: 248 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002192/9.848, allocations: 1.052 MB / 4.148 GB, free: 247.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/9.848, allocations: 0 / 4.148 GB, free: 247.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000956/9.849, allocations: 0.5389 MB / 4.148 GB, free: 247.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003508/9.852, allocations: 0.5546 MB / 4.149 GB, free: 247 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/9.869, allocations: 3.039 MB / 4.152 GB, free: 245.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008859/9.87, allocations: 1.207 MB / 4.153 GB, free: 244.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002294/9.873, allocations: 379.4 kB / 4.154 GB, free: 244.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/9.874, allocations: 0.5056 MB / 4.154 GB, free: 244 MB / 1.167 GB Notification: Performance of SimCode: time 1.212e-06/9.874, allocations: 3.172 kB / 4.154 GB, free: 244 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1068/9.981, allocations: 63.5 MB / 4.216 GB, free: 187.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/9.981, allocations: 212.7 kB / 4.216 GB, free: 187.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.002/13.98, allocations: 0 / 4.216 GB, free: 187.3 MB / 1.167 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