Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.HeaterCooler_u,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",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.248/2.248, allocations: 390.3 MB / 405.3 MB, free: 13.55 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.00149/0.00149, allocations: 181.7 kB / 498.1 MB, free: 5.809 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.384/1.384, allocations: 223.2 MB / 0.7948 GB, free: 17.99 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.001026/0.001026, allocations: 98.78 kB / 0.9346 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003458, allocations: 13.55 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2305, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8767/1.107, allocations: 421.9 MB / 1.635 GB, free: 6.73 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/1.107, allocations: 98.73 kB / 1.635 GB, free: 6.68 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.878/10.99, allocations: 2.806 GB / 4.441 GB, free: 75.22 MB / 1.26 GB Notification: Performance of FrontEnd: time 3.617e-06/10.99, allocations: 2.688 kB / 4.441 GB, free: 75.22 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.001733/10.99, allocations: 175.4 kB / 4.441 GB, free: 75.18 MB / 1.26 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02771/11.02, allocations: 7.168 MB / 4.448 GB, free: 71.61 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/11.02, allocations: 9.656 kB / 4.448 GB, free: 71.61 MB / 1.26 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002788/11.02, allocations: 0.5353 MB / 4.449 GB, free: 71.55 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004479/11.02, allocations: 0.7892 MB / 4.449 GB, free: 71.18 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1348/11.16, allocations: 60.98 MB / 4.509 GB, free: 67.07 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005379/11.16, allocations: 318.9 kB / 4.509 GB, free: 67.05 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001887/11.16, allocations: 422.5 kB / 4.51 GB, free: 67.05 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01454/11.17, allocations: 4.269 MB / 4.514 GB, free: 66.18 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000374/11.17, allocations: 25.27 kB / 4.514 GB, free: 66.16 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001557/11.18, allocations: 177.4 kB / 4.514 GB, free: 66.04 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000198/11.18, allocations: 114.7 kB / 4.514 GB, free: 66.03 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009115/11.19, allocations: 2.905 MB / 4.517 GB, free: 64.91 MB / 1.26 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.04232/11.23, allocations: 24.05 MB / 4.541 GB, free: 46.25 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004085/11.23, allocations: 2.961 MB / 4.543 GB, free: 44.2 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002937/11.24, allocations: 3.938 MB / 4.547 GB, free: 39.71 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/11.24, allocations: 67.59 kB / 4.547 GB, free: 39.65 MB / 1.26 GB Notification: Performance of pre-optimization done (n=225): time 9.568e-06/11.24, allocations: 0 / 4.547 GB, free: 39.65 MB / 1.26 GB Notification: Performance of matching and sorting (n=225): time 0.01191/11.25, allocations: 4.105 MB / 4.551 GB, free: 37.83 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/11.25, allocations: 76.75 kB / 4.551 GB, free: 37.77 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01051/11.26, allocations: 3.691 MB / 4.555 GB, free: 36.46 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.0008417/11.26, allocations: 76.02 kB / 4.555 GB, free: 36.39 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.002391/11.26, allocations: 2.777 MB / 4.558 GB, free: 34.21 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.001258/11.26, allocations: 0.7826 MB / 4.559 GB, free: 33.58 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/11.26, allocations: 54.34 kB / 4.559 GB, free: 33.54 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0001616/11.26, allocations: 408.3 kB / 4.559 GB, free: 33.19 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/11.26, allocations: 0.8079 MB / 4.56 GB, free: 32.88 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/11.27, allocations: 1.798 MB / 4.562 GB, free: 31.32 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/11.27, allocations: 1.102 MB / 4.563 GB, free: 30.79 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/11.27, allocations: 6.969 kB / 4.563 GB, free: 30.79 MB / 1.26 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007186/11.28, allocations: 3.357 MB / 4.566 GB, free: 29.33 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.002952/11.28, allocations: 10.37 MB / 4.576 GB, free: 18.33 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-05/11.28, allocations: 25.08 kB / 4.576 GB, free: 18.33 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/11.28, allocations: 408.8 kB / 4.576 GB, free: 18.02 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002105/11.28, allocations: 0.524 MB / 4.577 GB, free: 17.56 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/11.28, allocations: 2.681 MB / 4.58 GB, free: 14.85 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00758/11.29, allocations: 0.5587 MB / 4.58 GB, free: 14.38 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005567/11.29, allocations: 131.1 kB / 4.58 GB, free: 14.26 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/11.29, allocations: 4 kB / 4.58 GB, free: 14.26 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006342/11.3, allocations: 2.817 MB / 4.583 GB, free: 11.52 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.518e-05/11.3, allocations: 24 kB / 4.583 GB, free: 11.49 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000997/11.3, allocations: 375.3 kB / 4.583 GB, free: 11.11 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/11.3, allocations: 0.5226 MB / 4.584 GB, free: 10.59 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008471/11.31, allocations: 7.813 MB / 4.592 GB, free: 2.211 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006647/11.32, allocations: 0.5092 MB / 4.592 GB, free: 1.699 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007671/11.32, allocations: 128 kB / 4.592 GB, free: 1.574 MB / 1.26 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.004379/11.32, allocations: 1.004 MB / 4.593 GB, free: 0.5586 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002807/11.32, allocations: 0.511 MB / 4.594 GB, free: 44 kB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/11.34, allocations: 3.785 MB / 4.597 GB, free: 12.19 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-05/11.34, allocations: 39.98 kB / 4.597 GB, free: 12.15 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/11.34, allocations: 0 / 4.597 GB, free: 12.15 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005272/11.34, allocations: 2.616 MB / 4.6 GB, free: 9.469 MB / 1.276 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 postOpt removeSimpleEquations (simulation): time 0.0248/11.37, allocations: 8.584 MB / 4.608 GB, free: 0.5938 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/11.37, allocations: 0 / 4.608 GB, free: 0.5938 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/11.37, allocations: 387.5 kB / 4.609 GB, free: 220 kB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008382/11.37, allocations: 303.1 kB / 4.609 GB, free: 15.9 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002416/11.37, allocations: 63.97 kB / 4.609 GB, free: 15.84 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/11.37, allocations: 2.502 MB / 4.611 GB, free: 13.24 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/11.37, allocations: 0 / 4.611 GB, free: 13.24 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/11.38, allocations: 4.773 MB / 4.616 GB, free: 8.336 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004754/11.39, allocations: 0.9896 MB / 4.617 GB, free: 7.32 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001985/11.39, allocations: 48 kB / 4.617 GB, free: 7.273 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00562/11.39, allocations: 438.8 kB / 4.618 GB, free: 6.844 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003287/11.39, allocations: 164.2 kB / 4.618 GB, free: 6.684 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004579/11.39, allocations: 111.9 kB / 4.618 GB, free: 6.574 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.008479/11.4, allocations: 2.816 MB / 4.621 GB, free: 3.785 MB / 1.292 GB Notification: Performance of sort global known variables: time 6.71e-07/11.4, allocations: 0 / 4.621 GB, free: 3.785 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.02019/11.42, allocations: 3.59 MB / 4.624 GB, free: 192 kB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.02269/11.45, allocations: 8.627 MB / 4.633 GB, free: 7.367 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.01293/11.46, allocations: 4.439 MB / 4.637 GB, free: 2.867 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/11.46, allocations: 0 / 4.637 GB, free: 2.867 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.003093/11.46, allocations: 1.321 MB / 4.638 GB, free: 1.543 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 1.061/12.52, allocations: 2.695 MB / 4.641 GB, free: 119.1 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0929/12.62, allocations: 50.91 MB / 4.69 GB, free: 85.38 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002843/12.62, allocations: 3.004 MB / 4.693 GB, free: 84.59 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.006791/12.63, allocations: 1.206 MB / 4.695 GB, free: 84.54 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004677/12.63, allocations: 2.551 MB / 4.697 GB, free: 84.54 MB / 1.307 GB Notification: Performance of SimCode: time 1.202e-06/12.63, allocations: 0 / 4.697 GB, free: 84.54 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3416/12.97, allocations: 172.8 MB / 4.866 GB, free: 75.57 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/12.97, allocations: 250.6 kB / 4.866 GB, free: 75.23 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.575/21.55, allocations: 0 / 4.866 GB, free: 75.23 MB / 1.307 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat does not exist to compare? outputFormat=mat