Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008184/0.0008184, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.007515/0.007516, allocations: 172.6 kB / 16.26 MB, free: 6.676 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.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 473.4 MB / 0.7469 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004022, allocations: 9.562 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3396, allocations: 162.2 MB / 1.074 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1754/0.515, allocations: 155.8 MB / 1.226 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005364/0.5204, allocations: 3.779 MB / 1.23 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006611/0.5211, allocations: 15.88 kB / 1.23 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000652/0.5218, allocations: 147.1 kB / 1.23 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002793/0.5246, allocations: 0.7898 MB / 1.231 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.5258, allocations: 398.7 kB / 1.231 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002098/0.5279, allocations: 1.385 MB / 1.233 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004722/0.5284, allocations: 256.8 kB / 1.233 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000698/0.5291, allocations: 346.5 kB / 1.233 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009501/0.5301, allocations: 334 kB / 1.234 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.935e-05/0.5301, allocations: 16 kB / 1.234 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.532, allocations: 0.8494 MB / 1.234 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.5322, allocations: 147.6 kB / 1.235 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002937/0.5325, allocations: 220.6 kB / 1.235 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.5337, allocations: 0.7749 MB / 1.236 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5337, allocations: 0 / 1.236 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5337, allocations: 4 kB / 1.236 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.5337, allocations: 4 kB / 1.236 GB, free: 1.617 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.001037/0.5348, allocations: 0.6584 MB / 1.236 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.5348, allocations: 8.031 kB / 1.236 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009971/0.5358, allocations: 151.4 kB / 1.236 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000594/0.5364, allocations: 382.4 kB / 1.237 GB, free: 348 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.5365, allocations: 20.66 kB / 1.237 GB, free: 328 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.274e-05/0.5365, allocations: 28 kB / 1.237 GB, free: 300 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006386/0.5372, allocations: 334.1 kB / 1.237 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.5372, allocations: 4 kB / 1.237 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.5372, allocations: 8 kB / 1.237 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.5373, allocations: 8 kB / 1.237 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005583/0.5378, allocations: 314.4 kB / 1.237 GB, free: 15.63 MB / 0.9981 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.001761/0.5396, allocations: 1.212 MB / 1.239 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000507/0.5401, allocations: 299.3 kB / 1.239 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.5404, allocations: 191 kB / 1.239 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/0.5407, allocations: 194.5 kB / 1.239 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.5407, allocations: 42.84 kB / 1.239 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/0.5408, allocations: 0 / 1.239 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.002358/0.5431, allocations: 1.045 MB / 1.24 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.5432, allocations: 55.41 kB / 1.24 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.5435, allocations: 328.5 kB / 1.241 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.5436, allocations: 29.7 kB / 1.241 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.5437, allocations: 176.8 kB / 1.241 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.5438, allocations: 118.3 kB / 1.241 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.5439, allocations: 29.7 kB / 1.241 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002252/0.5441, allocations: 350.8 kB / 1.241 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.5444, allocations: 115.9 kB / 1.241 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/0.5448, allocations: 177.9 kB / 1.242 GB, free: 11.04 MB / 0.9981 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.002001/0.5468, allocations: 0.7845 MB / 1.242 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5468, allocations: 0 / 1.242 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006492/0.5474, allocations: 356.9 kB / 1.243 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.5475, allocations: 4 kB / 1.243 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.5475, allocations: 0 / 1.243 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.5475, allocations: 11.92 kB / 1.243 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.5478, allocations: 75.92 kB / 1.243 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.5479, allocations: 7.984 kB / 1.243 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/0.5483, allocations: 24.48 kB / 1.243 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.5483, allocations: 12 kB / 1.243 GB, free: 9.746 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002516/0.5486, allocations: 173.8 kB / 1.243 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.426e-05/0.5487, allocations: 43.53 kB / 1.243 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.5488, allocations: 48.06 kB / 1.243 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.5488, allocations: 7.938 kB / 1.243 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.5488, allocations: 0 / 1.243 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006226/0.5494, allocations: 420.3 kB / 1.243 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.5513, allocations: 1.073 MB / 1.245 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.5513, allocations: 4 kB / 1.245 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/0.5517, allocations: 83.89 kB / 1.245 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.5517, allocations: 4 kB / 1.245 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.5518, allocations: 12 kB / 1.245 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.5518, allocations: 11.88 kB / 1.245 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.5518, allocations: 4 kB / 1.245 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.5529, allocations: 0.6964 MB / 1.245 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.5531, allocations: 144.6 kB / 1.245 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.5531, allocations: 19.94 kB / 1.245 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.5535, allocations: 23.97 kB / 1.245 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.5536, allocations: 39.91 kB / 1.246 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.5536, allocations: 23.92 kB / 1.246 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002612/0.5539, allocations: 227 kB / 1.246 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5539, allocations: 0 / 1.246 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004875/0.5544, allocations: 108 kB / 1.246 GB, free: 6.383 MB / 0.9981 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.0004512/0.5549, allocations: 161.4 kB / 1.246 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006329/0.5555, allocations: 312.1 kB / 1.246 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.5555, allocations: 4 kB / 1.246 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.5558, allocations: 176.5 kB / 1.246 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.5572, allocations: 210.5 kB / 1.247 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.5589, allocations: 1.161 MB / 1.248 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.5593, allocations: 0.8351 MB / 1.249 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003722/0.5597, allocations: 99.19 kB / 1.249 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.5598, allocations: 39.42 kB / 1.249 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/0.5598, allocations: 0 / 1.249 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of Templates: time 0.5215/1.081, allocations: 6.982 MB / 1.256 GB, free: 182.3 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1)