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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001625/0.001625, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 195.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.719/2.719, allocations: 461.9 MB / 0.7347 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 61.8 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2829, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1675/0.4505, allocations: 160.1 MB / 1.209 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006502/0.457, allocations: 3.802 MB / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005669/0.4577, allocations: 19.94 kB / 1.213 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007986/0.4585, allocations: 182.7 kB / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002228/0.4608, allocations: 0.8477 MB / 1.214 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.4619, allocations: 418.7 kB / 1.214 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001408/0.4633, allocations: 1.018 MB / 1.215 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005704/0.4639, allocations: 292.9 kB / 1.216 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008216/0.4647, allocations: 406.4 kB / 1.216 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009313/0.4657, allocations: 322.2 kB / 1.216 GB, free: 232 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.4658, allocations: 32 kB / 1.216 GB, free: 200 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.4671, allocations: 0.7092 MB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.4673, allocations: 159.6 kB / 1.217 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002739/0.4676, allocations: 211 kB / 1.217 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.4688, allocations: 0.744 MB / 1.218 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4688, allocations: 0 / 1.218 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.173e-06/0.4688, allocations: 0 / 1.218 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.4688, allocations: 0 / 1.218 GB, free: 14.38 MB / 0.9825 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.001275/0.4701, allocations: 0.7402 MB / 1.219 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.4702, allocations: 8.031 kB / 1.219 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.105e-05/0.4702, allocations: 66.53 kB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.4713, allocations: 151.3 kB / 1.219 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005566/0.4719, allocations: 382.5 kB / 1.219 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.4719, allocations: 20.66 kB / 1.22 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.944e-05/0.472, allocations: 32 kB / 1.22 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005561/0.4725, allocations: 322 kB / 1.22 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.4726, allocations: 0 / 1.22 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.4726, allocations: 20 kB / 1.22 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.4726, allocations: 8 kB / 1.22 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005466/0.4732, allocations: 314.3 kB / 1.22 GB, free: 12.23 MB / 0.9825 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.001718/0.4749, allocations: 1.205 MB / 1.221 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004623/0.4754, allocations: 287.4 kB / 1.222 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.4757, allocations: 182.7 kB / 1.222 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002683/0.4759, allocations: 194.5 kB / 1.222 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.476, allocations: 38.84 kB / 1.222 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 1.794e-06/0.476, allocations: 0 / 1.222 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.002063/0.478, allocations: 1.034 MB / 1.223 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.4781, allocations: 55.41 kB / 1.223 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.4784, allocations: 320.5 kB / 1.223 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.4785, allocations: 33.7 kB / 1.223 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.4787, allocations: 180.7 kB / 1.224 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.4788, allocations: 122.2 kB / 1.224 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.4789, allocations: 65.69 kB / 1.224 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.479, allocations: 346.8 kB / 1.224 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.4792, allocations: 119.6 kB / 1.224 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/0.4795, allocations: 164 kB / 1.224 GB, free: 7.656 MB / 0.9825 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.00182/0.4814, allocations: 0.7616 MB / 1.225 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4814, allocations: 0 / 1.225 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006025/0.482, allocations: 352.8 kB / 1.225 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.482, allocations: 8 kB / 1.225 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.482, allocations: 0 / 1.225 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4821, allocations: 3.938 kB / 1.225 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.4824, allocations: 71.94 kB / 1.226 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.4824, allocations: 4 kB / 1.226 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.4827, allocations: 11.98 kB / 1.226 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.4828, allocations: 16 kB / 1.226 GB, free: 6.406 MB / 0.9825 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001937/0.483, allocations: 169.8 kB / 1.226 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.997e-05/0.4831, allocations: 31.62 kB / 1.226 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.908e-05/0.4832, allocations: 56 kB / 1.226 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/0.4832, allocations: 11.98 kB / 1.226 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.4832, allocations: 0 / 1.226 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005201/0.4837, allocations: 412.3 kB / 1.226 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.4853, allocations: 1.061 MB / 1.227 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.4853, allocations: 7.984 kB / 1.227 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004118/0.4857, allocations: 83.89 kB / 1.227 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.4858, allocations: 4 kB / 1.227 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.4858, allocations: 12 kB / 1.227 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/0.4858, allocations: 15.86 kB / 1.227 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.4858, allocations: 4 kB / 1.227 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009557/0.4868, allocations: 0.6816 MB / 1.228 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.487, allocations: 152.7 kB / 1.228 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.298e-05/0.4871, allocations: 15.92 kB / 1.228 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/0.4874, allocations: 16 kB / 1.228 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/0.4875, allocations: 39.78 kB / 1.228 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/0.4875, allocations: 19.98 kB / 1.228 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002549/0.4878, allocations: 231 kB / 1.228 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4878, allocations: 4 kB / 1.229 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005144/0.4883, allocations: 108 kB / 1.229 GB, free: 3.074 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001599/0.4899, allocations: 1.279 MB / 1.23 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000682/0.4906, allocations: 327.7 kB / 1.23 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.4907, allocations: 8.062 kB / 1.23 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.491, allocations: 163.7 kB / 1.23 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.4922, allocations: 225.6 kB / 1.231 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005124/0.4973, allocations: 3.695 MB / 1.234 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.4978, allocations: 0.8313 MB / 1.235 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003742/0.4981, allocations: 103.2 kB / 1.235 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.4984, allocations: 126.4 kB / 1.235 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.4984, allocations: 0 / 1.235 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1213/0.6197, allocations: 11.08 MB / 1.246 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/8.409, allocations: 4.062 kB / 1.246 GB, free: 1.234 MB / 0.9981 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/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)