Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001632, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.525/2.525, allocations: 409.4 MB / 0.684 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003569, allocations: 8 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7616/0.762, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1657/0.9278, allocations: 145.4 MB / 1.123 GB, free: 4.465 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004955/0.9328, allocations: 3.548 MB / 1.127 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005016/0.9333, allocations: 15.88 kB / 1.127 GB, free: 0.8906 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005837/0.9339, allocations: 123.2 kB / 1.127 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001838/0.9358, allocations: 0.6142 MB / 1.127 GB, free: 156 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009799/0.9368, allocations: 333.4 kB / 1.128 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001482/0.9382, allocations: 1.182 MB / 1.129 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004733/0.9387, allocations: 224.7 kB / 1.129 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007194/0.9395, allocations: 346.5 kB / 1.129 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005995/0.9401, allocations: 314.8 kB / 1.13 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.284e-05/0.9402, allocations: 16 kB / 1.13 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009965/0.9412, allocations: 379.1 kB / 1.13 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.9414, allocations: 151.5 kB / 1.13 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.9415, allocations: 101.5 kB / 1.13 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0006501/0.9422, allocations: 498.8 kB / 1.131 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.9422, allocations: 0 / 1.131 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9422, allocations: 0 / 1.131 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.9422, allocations: 0 / 1.131 GB, free: 12.64 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001279/0.9435, allocations: 0.674 MB / 1.131 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.9436, allocations: 8.031 kB / 1.131 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.9437, allocations: 66.55 kB / 1.131 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.9448, allocations: 147.2 kB / 1.132 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006238/0.9454, allocations: 370.8 kB / 1.132 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.9455, allocations: 24.66 kB / 1.132 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.932e-05/0.9455, allocations: 28 kB / 1.132 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000631/0.9462, allocations: 330 kB / 1.132 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.9462, allocations: 0 / 1.132 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/0.9463, allocations: 15.95 kB / 1.132 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.9463, allocations: 8 kB / 1.132 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005822/0.9469, allocations: 318.4 kB / 1.133 GB, free: 10.58 MB / 0.8887 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.001696/0.9486, allocations: 1.205 MB / 1.134 GB, free: 9.262 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004576/0.949, allocations: 297.2 kB / 1.134 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.9493, allocations: 185.3 kB / 1.134 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002863/0.9496, allocations: 194.5 kB / 1.134 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.9497, allocations: 34.84 kB / 1.134 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=33): time 1.873e-06/0.9497, allocations: 0 / 1.134 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of matching and sorting (n=35): time 0.002098/0.9518, allocations: 1.051 MB / 1.136 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.9518, allocations: 55.41 kB / 1.136 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.9521, allocations: 316.5 kB / 1.136 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.9522, allocations: 33.7 kB / 1.136 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.9523, allocations: 176.7 kB / 1.136 GB, free: 6.812 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.749e-05/0.9524, allocations: 118.3 kB / 1.136 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.9524, allocations: 12 kB / 1.136 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.9525, allocations: 346.8 kB / 1.137 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.9528, allocations: 115.9 kB / 1.137 GB, free: 6.223 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.953, allocations: 170 kB / 1.137 GB, free: 6.047 MB / 0.8887 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.9544, allocations: 0.5133 MB / 1.137 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.9544, allocations: 0 / 1.137 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005752/0.9549, allocations: 361 kB / 1.138 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.955, allocations: 9.875 kB / 1.138 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.955, allocations: 0 / 1.138 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.955, allocations: 4.031 kB / 1.138 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.9553, allocations: 71.86 kB / 1.138 GB, free: 5.074 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.9553, allocations: 0 / 1.138 GB, free: 5.074 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/0.9557, allocations: 25.5 kB / 1.138 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.9557, allocations: 12 kB / 1.138 GB, free: 5.039 MB / 0.8887 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: dynBal.medium.p = dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * 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.0001834/0.9559, allocations: 177.8 kB / 1.138 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.738e-05/0.956, allocations: 39.53 kB / 1.138 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.9561, allocations: 48.06 kB / 1.138 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.9561, allocations: 8 kB / 1.138 GB, free: 4.762 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.9561, allocations: 3.953 kB / 1.138 GB, free: 4.758 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005423/0.9567, allocations: 416.2 kB / 1.138 GB, free: 4.32 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.9583, allocations: 1.089 MB / 1.139 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.9583, allocations: 4 kB / 1.139 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003532/0.9587, allocations: 79.89 kB / 1.14 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.9587, allocations: 8 kB / 1.14 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.9588, allocations: 12 kB / 1.14 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.9588, allocations: 8 kB / 1.14 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.9588, allocations: 7.938 kB / 1.14 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009531/0.9597, allocations: 0.702 MB / 1.14 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.9599, allocations: 148.6 kB / 1.14 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.813e-05/0.96, allocations: 15.94 kB / 1.14 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/0.9603, allocations: 23.92 kB / 1.14 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.9604, allocations: 39.92 kB / 1.14 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.9604, allocations: 20.03 kB / 1.141 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002195/0.9606, allocations: 227 kB / 1.141 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9607, allocations: 0 / 1.141 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004707/0.9611, allocations: 108 kB / 1.141 GB, free: 1.66 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (dynBal.medium.Xi[1],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 (35): * Single equations (assignments): 35 * 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 Backend phase and start with SimCode phase: time 0.001476/0.9626, allocations: 1.288 MB / 1.142 GB, free: 312 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005794/0.9632, allocations: 307.7 kB / 1.142 GB, free: 4 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.9632, allocations: 0 / 1.142 GB, free: 4 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002972/0.9635, allocations: 168.7 kB / 1.143 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.9646, allocations: 212.4 kB / 1.143 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.9686, allocations: 2.487 MB / 1.145 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.9691, allocations: 0.8235 MB / 1.146 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004033/0.9695, allocations: 99.19 kB / 1.146 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.9697, allocations: 127.3 kB / 1.146 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of SimCode: time 5.41e-07/0.9697, allocations: 0 / 1.146 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.9956, allocations: 10.43 MB / 1.156 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/0.9958, allocations: 270.3 kB / 1.157 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.047/3.043, allocations: 0 / 1.157 GB, free: 1.488 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent_fmu --startTime=0 --stopTime=2700 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat does not exist to compare? outputFormat=mat