Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.361/2.361, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001114/0.001114, allocations: 176.8 kB / 487.4 MB, free: 5.031 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009613/0.0009613, allocations: 91.86 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.36e-05/2.348e-05, allocations: 5.641 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2696, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.519/4.789, allocations: 1.873 GB / 3.079 GB, free: 7.734 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003452/4.79, allocations: 85.17 kB / 3.079 GB, free: 7.652 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.318/9.108, allocations: 1.006 GB / 4.086 GB, free: 262.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.685e-06/9.108, allocations: 0 / 4.086 GB, free: 262.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.973e-05/9.108, allocations: 39 kB / 4.086 GB, free: 262.8 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.006454/9.114, allocations: 1.828 MB / 4.088 GB, free: 262.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/9.115, allocations: 7.562 kB / 4.088 GB, free: 262.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004056/9.119, allocations: 0.6973 MB / 4.088 GB, free: 262.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00301/9.122, allocations: 1.047 MB / 4.089 GB, free: 261.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/9.122, allocations: 28.72 kB / 4.089 GB, free: 261.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/9.122, allocations: 50.66 kB / 4.089 GB, free: 261.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001389/9.123, allocations: 0.8677 MB / 4.09 GB, free: 261.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/9.125, allocations: 1.149 MB / 4.091 GB, free: 261.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/9.125, allocations: 7.594 kB / 4.091 GB, free: 261.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.374e-05/9.125, allocations: 3.891 kB / 4.091 GB, free: 261.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/9.125, allocations: 41.38 kB / 4.091 GB, free: 261.6 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.006664/9.132, allocations: 5.101 MB / 4.096 GB, free: 259.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/9.133, allocations: 0.8764 MB / 4.097 GB, free: 259.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006012/9.134, allocations: 478.3 kB / 4.098 GB, free: 259.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/9.135, allocations: 0.9428 MB / 4.099 GB, free: 258.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007704/9.135, allocations: 0.5869 MB / 4.099 GB, free: 258.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=82): time 3.897e-06/9.135, allocations: 0 / 4.099 GB, free: 258.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=82): time 0.002511/9.138, allocations: 1.123 MB / 4.1 GB, free: 258 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/9.138, allocations: 64.16 kB / 4.1 GB, free: 257.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009507/9.139, allocations: 0.8503 MB / 4.101 GB, free: 257.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.429e-05/9.139, allocations: 33.23 kB / 4.101 GB, free: 257.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/9.139, allocations: 0.5801 MB / 4.102 GB, free: 257.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/9.14, allocations: 273.5 kB / 4.102 GB, free: 257.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.889e-05/9.14, allocations: 0 / 4.102 GB, free: 257.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.667e-05/9.14, allocations: 339.6 kB / 4.102 GB, free: 257.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005268/9.14, allocations: 408.4 kB / 4.103 GB, free: 257.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006879/9.141, allocations: 0.6917 MB / 4.103 GB, free: 256.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006479/9.142, allocations: 457.2 kB / 4.104 GB, free: 256.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/9.142, allocations: 7.531 kB / 4.104 GB, free: 256.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001673/9.143, allocations: 1.156 MB / 4.105 GB, free: 256.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/9.144, allocations: 7.562 kB / 4.105 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/9.144, allocations: 11.31 kB / 4.105 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.33e-05/9.144, allocations: 15.59 kB / 4.105 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/9.145, allocations: 314.4 kB / 4.105 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/9.145, allocations: 14.53 kB / 4.105 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/9.146, allocations: 182.7 kB / 4.106 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/9.147, allocations: 65.7 kB / 4.106 GB, free: 256.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0002251/9.147, allocations: 137.9 kB / 4.106 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00148/9.148, allocations: 1.018 MB / 4.107 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/9.149, allocations: 122.9 kB / 4.107 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/9.151, allocations: 1.18 MB / 4.108 GB, free: 256.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/9.151, allocations: 7.844 kB / 4.108 GB, free: 256.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/9.151, allocations: 3.953 kB / 4.108 GB, free: 256.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/9.151, allocations: 13.94 kB / 4.108 GB, free: 256.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003906/9.154, allocations: 2.588 MB / 4.111 GB, free: 255.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/9.155, allocations: 6 kB / 4.111 GB, free: 255.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/9.156, allocations: 253.1 kB / 4.111 GB, free: 255.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/9.156, allocations: 9.625 kB / 4.111 GB, free: 255.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.228e-05/9.156, allocations: 26.89 kB / 4.111 GB, free: 255.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-06/9.156, allocations: 10.7 kB / 4.111 GB, free: 255.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/9.156, allocations: 6.406 kB / 4.111 GB, free: 255.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/9.158, allocations: 2.118 MB / 4.113 GB, free: 255.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005528/9.159, allocations: 327.2 kB / 4.113 GB, free: 255.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/9.159, allocations: 14.12 kB / 4.113 GB, free: 255.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/9.16, allocations: 136.5 kB / 4.113 GB, free: 255.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/9.161, allocations: 69.81 kB / 4.113 GB, free: 255.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.923e-05/9.161, allocations: 47.69 kB / 4.113 GB, free: 255.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008103/9.161, allocations: 0.6375 MB / 4.114 GB, free: 255 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/9.161, allocations: 0 / 4.114 GB, free: 255 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001741/9.163, allocations: 454.7 kB / 4.115 GB, free: 255 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * 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.00604/9.169, allocations: 5.8 MB / 4.12 GB, free: 252.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001737/9.171, allocations: 0.9987 MB / 4.121 GB, free: 252.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/9.171, allocations: 2.562 kB / 4.121 GB, free: 252.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006856/9.172, allocations: 0.5233 MB / 4.122 GB, free: 252.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/9.174, allocations: 418.3 kB / 4.122 GB, free: 252.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/9.178, allocations: 2.235 MB / 4.124 GB, free: 251.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/9.179, allocations: 1.21 MB / 4.125 GB, free: 250.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001412/9.18, allocations: 348.4 kB / 4.126 GB, free: 250.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006961/9.181, allocations: 0.4968 MB / 4.126 GB, free: 250.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.613e-06/9.181, allocations: 0 / 4.126 GB, free: 250.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08157/9.262, allocations: 40.64 MB / 4.166 GB, free: 235.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/9.262, allocations: 187.9 kB / 4.166 GB, free: 235.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.547/12.81, allocations: 0 / 4.166 GB, free: 235.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat does not exist to compare? outputFormat=mat