Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.727/1.727, allocations: 292.6 MB / 307.5 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 195.3 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 0.6366 GB, free: 8.527 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008774/0.0008774, allocations: 87.2 kB / 0.7509 GB, free: 63.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004692, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2785, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.238/5.517, allocations: 2.069 GB / 3.057 GB, free: 151.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/5.517, allocations: 87.95 kB / 3.057 GB, free: 151.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.343/9.86, allocations: 1.011 GB / 4.068 GB, free: 162.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.575e-06/9.86, allocations: 3.031 kB / 4.069 GB, free: 162.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002453/9.86, allocations: 43.8 kB / 4.069 GB, free: 162.4 MB / 0.9636 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.00895/9.869, allocations: 1.929 MB / 4.07 GB, free: 161.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/9.869, allocations: 7.625 kB / 4.07 GB, free: 161.6 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006084/9.87, allocations: 146.6 kB / 4.071 GB, free: 161.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004559/9.875, allocations: 0.6949 MB / 4.071 GB, free: 161.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004416/9.879, allocations: 1.025 MB / 4.072 GB, free: 161.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/9.879, allocations: 71 kB / 4.072 GB, free: 161.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005421/9.88, allocations: 95.19 kB / 4.072 GB, free: 161.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003985/9.884, allocations: 1.425 MB / 4.074 GB, free: 160.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/9.884, allocations: 7.734 kB / 4.074 GB, free: 160.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/9.884, allocations: 44.19 kB / 4.074 GB, free: 160.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.468e-05/9.884, allocations: 52.19 kB / 4.074 GB, free: 160.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004199/9.888, allocations: 1.536 MB / 4.075 GB, free: 160.9 MB / 0.9636 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.009155/9.898, allocations: 5.097 MB / 4.08 GB, free: 158.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003553/9.901, allocations: 1.227 MB / 4.082 GB, free: 158.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/9.902, allocations: 0.9379 MB / 4.082 GB, free: 157.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001824/9.904, allocations: 0.7306 MB / 4.083 GB, free: 157.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=82): time 3.536e-06/9.904, allocations: 0 / 4.083 GB, free: 157.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=82): time 0.006075/9.91, allocations: 1.97 MB / 4.085 GB, free: 157.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/9.91, allocations: 69.23 kB / 4.085 GB, free: 157.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/9.913, allocations: 1.132 MB / 4.086 GB, free: 156.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001722/9.913, allocations: 46.95 kB / 4.086 GB, free: 156.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006181/9.914, allocations: 0.5879 MB / 4.087 GB, free: 156.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/9.914, allocations: 276.8 kB / 4.087 GB, free: 156.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/9.914, allocations: 20.09 kB / 4.087 GB, free: 156.6 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001083/9.914, allocations: 337.5 kB / 4.088 GB, free: 156.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/9.916, allocations: 0.5599 MB / 4.088 GB, free: 156.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/9.917, allocations: 0.8888 MB / 4.089 GB, free: 155.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/9.919, allocations: 0.6096 MB / 4.09 GB, free: 155.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/9.919, allocations: 4.281 kB / 4.09 GB, free: 155.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004191/9.923, allocations: 1.547 MB / 4.091 GB, free: 155.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/9.923, allocations: 7.812 kB / 4.091 GB, free: 155.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/9.923, allocations: 4.938 kB / 4.091 GB, free: 155.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.378e-05/9.923, allocations: 12.72 kB / 4.091 GB, free: 155.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/9.925, allocations: 295.6 kB / 4.091 GB, free: 155.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.409e-05/9.925, allocations: 21.02 kB / 4.091 GB, free: 155.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/9.927, allocations: 230.3 kB / 4.092 GB, free: 155.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/9.927, allocations: 52.03 kB / 4.092 GB, free: 155.6 MB / 0.9636 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 () * Number of clocked 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.00102/9.928, allocations: 347.7 kB / 4.092 GB, free: 155.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005025/9.929, allocations: 133.4 kB / 4.092 GB, free: 155.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004155/9.933, allocations: 1.523 MB / 4.094 GB, free: 155.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/9.933, allocations: 18.3 kB / 4.094 GB, free: 155.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/9.933, allocations: 0 / 4.094 GB, free: 155.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/9.933, allocations: 3.75 kB / 4.094 GB, free: 155.3 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007682/9.941, allocations: 2.965 MB / 4.097 GB, free: 154.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/9.941, allocations: 4.875 kB / 4.097 GB, free: 154.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/9.942, allocations: 244 kB / 4.097 GB, free: 154.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.377e-05/9.942, allocations: 9 kB / 4.097 GB, free: 154.8 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/9.942, allocations: 26.86 kB / 4.097 GB, free: 154.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.318e-05/9.942, allocations: 9.625 kB / 4.097 GB, free: 154.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/9.942, allocations: 6.375 kB / 4.097 GB, free: 154.8 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005529/9.948, allocations: 2.611 MB / 4.099 GB, free: 154 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/9.949, allocations: 341.5 kB / 4.1 GB, free: 153.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005026/9.949, allocations: 23.67 kB / 4.1 GB, free: 153.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/9.951, allocations: 138.8 kB / 4.1 GB, free: 153.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/9.951, allocations: 65.95 kB / 4.1 GB, free: 153.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.136e-05/9.951, allocations: 37.55 kB / 4.1 GB, free: 153.7 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001813/9.953, allocations: 0.8806 MB / 4.101 GB, free: 153.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.71e-07/9.953, allocations: 0 / 4.101 GB, free: 153.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002755/9.956, allocations: 0.4926 MB / 4.101 GB, free: 153.2 MB / 0.9636 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) * Number of clocked states: 0 () * 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.01068/9.967, allocations: 6.131 MB / 4.107 GB, free: 149.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003834/9.97, allocations: 1.332 MB / 4.109 GB, free: 149.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/9.971, allocations: 0 / 4.109 GB, free: 149.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00193/9.972, allocations: 0.6703 MB / 4.109 GB, free: 149.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00436/9.977, allocations: 0.612 MB / 4.11 GB, free: 149.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02322/10, allocations: 13.33 MB / 4.123 GB, free: 140.2 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000984/10, allocations: 1.209 MB / 4.124 GB, free: 139.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001966/10, allocations: 360 kB / 4.124 GB, free: 139.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009512/10, allocations: 0.4992 MB / 4.125 GB, free: 139 MB / 0.9636 GB Notification: Performance of SimCode: time 1.693e-06/10, allocations: 0 / 4.125 GB, free: 139 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1062/10.11, allocations: 59.96 MB / 4.183 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/10.11, allocations: 232.1 kB / 4.184 GB, free: 116 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.845/14.96, allocations: 3.516 kB / 4.184 GB, free: 116 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)