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.001166/0.001166, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001419/0.001419, allocations: 177.3 kB / 15.94 MB, free: 228 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.343/1.343, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.389/2.389, allocations: 409.2 MB / 0.6838 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003517, allocations: 8 kB / 0.8375 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8017/0.8021, allocations: 146.8 MB / 0.9809 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1478/0.95, allocations: 134.6 MB / 1.112 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004641/0.9546, allocations: 3.268 MB / 1.115 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005323/0.9552, allocations: 11.94 kB / 1.115 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006907/0.9559, allocations: 191.1 kB / 1.116 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.9576, allocations: 0.5881 MB / 1.116 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.9588, allocations: 429.3 kB / 1.117 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0009831/0.9598, allocations: 0.6022 MB / 1.117 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003987/0.9602, allocations: 236.6 kB / 1.117 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005687/0.9608, allocations: 318.9 kB / 1.118 GB, free: 9.887 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.9611, allocations: 211.2 kB / 1.118 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.135e-05/0.9612, allocations: 16 kB / 1.118 GB, free: 9.664 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009323/0.9621, allocations: 399.4 kB / 1.118 GB, free: 9.273 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.9623, allocations: 143.6 kB / 1.119 GB, free: 9.133 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 8.91e-05/0.9624, allocations: 97.52 kB / 1.119 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0005496/0.9629, allocations: 498.8 kB / 1.119 GB, free: 8.543 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.9629, allocations: 0 / 1.119 GB, free: 8.543 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9629, allocations: 0 / 1.119 GB, free: 8.543 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.9629, allocations: 0 / 1.119 GB, free: 8.543 MB / 0.8731 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.00103/0.964, allocations: 0.6585 MB / 1.12 GB, free: 7.836 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.964, allocations: 12.03 kB / 1.12 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.039e-05/0.9641, allocations: 66.53 kB / 1.12 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.9651, allocations: 155.2 kB / 1.12 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000561/0.9657, allocations: 366.8 kB / 1.12 GB, free: 7.203 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.9657, allocations: 24.64 kB / 1.12 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/0.9658, allocations: 36 kB / 1.12 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005254/0.9663, allocations: 318 kB / 1.121 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.9664, allocations: 4 kB / 1.121 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.9664, allocations: 15.95 kB / 1.121 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.9664, allocations: 8 kB / 1.121 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005091/0.9669, allocations: 318.4 kB / 1.121 GB, free: 6.488 MB / 0.8731 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.001649/0.9686, allocations: 1.201 MB / 1.122 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004593/0.9691, allocations: 287.4 kB / 1.122 GB, free: 4.887 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.486e-05/0.9691, allocations: 8.281 kB / 1.122 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.9692, allocations: 42.84 kB / 1.122 GB, free: 4.828 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.9692, allocations: 0 / 1.122 GB, free: 4.828 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35): time 0.00206/0.9712, allocations: 1.04 MB / 1.124 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.9713, allocations: 59.36 kB / 1.124 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.9716, allocations: 324.5 kB / 1.124 GB, free: 3.348 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.9717, allocations: 29.7 kB / 1.124 GB, free: 3.312 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.9718, allocations: 184.7 kB / 1.124 GB, free: 3.125 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.197e-05/0.9719, allocations: 114.3 kB / 1.124 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/0.9719, allocations: 4 kB / 1.124 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.972, allocations: 350.8 kB / 1.125 GB, free: 2.656 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.9722, allocations: 111.9 kB / 1.125 GB, free: 2.547 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.9725, allocations: 174 kB / 1.125 GB, free: 2.367 MB / 0.8731 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.001254/0.9738, allocations: 0.5049 MB / 1.125 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.9738, allocations: 3.938 kB / 1.125 GB, free: 1.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005656/0.9743, allocations: 369 kB / 1.126 GB, free: 1.473 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.9744, allocations: 13.33 kB / 1.126 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.9744, allocations: 0 / 1.126 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.9744, allocations: 4 kB / 1.126 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.9747, allocations: 67.91 kB / 1.126 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.9747, allocations: 4 kB / 1.126 GB, free: 1.387 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.9751, allocations: 29.5 kB / 1.126 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.9751, allocations: 12 kB / 1.126 GB, free: 1.348 MB / 0.8731 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.0001914/0.9753, allocations: 169.8 kB / 1.126 GB, free: 1.172 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.9754, allocations: 39.53 kB / 1.126 GB, free: 1.133 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.345e-05/0.9755, allocations: 56.05 kB / 1.126 GB, free: 1.078 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.9755, allocations: 4 kB / 1.126 GB, free: 1.074 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.9755, allocations: 4 kB / 1.126 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005443/0.9761, allocations: 412.2 kB / 1.126 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.9776, allocations: 1.072 MB / 1.127 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.9776, allocations: 4 kB / 1.127 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/0.978, allocations: 87.89 kB / 1.128 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.892e-06/0.978, allocations: 4.469 kB / 1.128 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.9781, allocations: 16 kB / 1.128 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.9781, allocations: 7.984 kB / 1.128 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.9781, allocations: 7.938 kB / 1.128 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009562/0.979, allocations: 0.8791 MB / 1.128 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.9792, allocations: 148.6 kB / 1.129 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.9793, allocations: 12 kB / 1.129 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.9796, allocations: 27.88 kB / 1.129 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.888e-05/0.9797, allocations: 40 kB / 1.129 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.9798, allocations: 16 kB / 1.129 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002045/0.98, allocations: 227 kB / 1.129 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.98, allocations: 0 / 1.129 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004555/0.9804, allocations: 119.9 kB / 1.129 GB, free: 13.7 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.001766/0.9822, allocations: 2.497 MB / 1.131 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006263/0.9828, allocations: 301.5 kB / 1.132 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.9829, allocations: 0 / 1.132 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002827/0.9832, allocations: 176.7 kB / 1.132 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.9842, allocations: 217.5 kB / 1.132 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.9876, allocations: 2.587 MB / 1.135 GB, free: 7.738 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.988, allocations: 0.843 MB / 1.135 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003665/0.9884, allocations: 103.2 kB / 1.136 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.9885, allocations: 111.4 kB / 1.136 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of SimCode: time 5.21e-07/0.9886, allocations: 0 / 1.136 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/1.011, allocations: 10.41 MB / 1.146 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003027/1.012, allocations: 256.5 kB / 1.146 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.832, allocations: 4 kB / 1.146 GB, free: 12.18 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