Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.361/2.361, allocations: 391.2 MB / 407 MB, free: 10.84 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.00125/0.00125, allocations: 199.4 kB / 499.1 MB, free: 4.676 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.491/1.491, allocations: 222.9 MB / 0.7948 GB, free: 15.79 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.001019/0.001019, allocations: 107.7 kB / 0.9329 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001086, allocations: 51.84 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2855, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1389/0.4244, allocations: 159.1 MB / 1.373 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.002182/0.4266, allocations: 0.9548 MB / 1.374 GB, free: 4.574 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004057/0.4271, allocations: 7.938 kB / 1.374 GB, free: 4.566 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006864/0.4278, allocations: 131.2 kB / 1.375 GB, free: 4.438 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001885/0.4297, allocations: 0.6032 MB / 1.375 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007248/0.4304, allocations: 195.2 kB / 1.375 GB, free: 3.645 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001049/0.4315, allocations: 0.7527 MB / 1.376 GB, free: 2.891 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004541/0.432, allocations: 156.2 kB / 1.376 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006268/0.4326, allocations: 215 kB / 1.376 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003509/0.433, allocations: 171.3 kB / 1.377 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.433, allocations: 8 kB / 1.377 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.4342, allocations: 0.639 MB / 1.377 GB, free: 1.707 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.4344, allocations: 79.72 kB / 1.377 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.4345, allocations: 107.5 kB / 1.377 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009307/0.4355, allocations: 0.5141 MB / 1.378 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4355, allocations: 0 / 1.378 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4355, allocations: 0 / 1.378 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.4355, allocations: 0 / 1.378 GB, free: 1.008 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001688/0.4372, allocations: 0.6 MB / 1.378 GB, free: 368 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.4373, allocations: 11.98 kB / 1.378 GB, free: 356 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003105/0.4376, allocations: 43.69 kB / 1.378 GB, free: 312 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.438, allocations: 286.1 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.438, allocations: 24.27 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.4381, allocations: 19.98 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000543/0.4386, allocations: 243.7 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.4387, allocations: 0 / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.4387, allocations: 8 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.4387, allocations: 15.94 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006557/0.4394, allocations: 247.8 kB / 1.379 GB, free: 15.43 MB / 0.8855 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.001333/0.4407, allocations: 0.8315 MB / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.441, allocations: 142.6 kB / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.4413, allocations: 104.8 kB / 1.38 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002848/0.4416, allocations: 194.2 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.4416, allocations: 34.5 kB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.4416, allocations: 0 / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.0008076/0.4424, allocations: 301.2 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.4425, allocations: 59.34 kB / 1.381 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.4427, allocations: 249 kB / 1.381 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.4428, allocations: 25.7 kB / 1.381 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.4429, allocations: 136.2 kB / 1.381 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.443, allocations: 51.3 kB / 1.381 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.4431, allocations: 33.7 kB / 1.381 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.4432, allocations: 334.8 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.4434, allocations: 59.95 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.4436, allocations: 116.1 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/0.444, allocations: 165.5 kB / 1.382 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.444, allocations: 0 / 1.382 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004614/0.4445, allocations: 217.2 kB / 1.382 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.4445, allocations: 8.875 kB / 1.382 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.4445, allocations: 4 kB / 1.382 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.4445, allocations: 0 / 1.382 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.4447, allocations: 39.91 kB / 1.382 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4447, allocations: 0 / 1.382 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.4449, allocations: 23.89 kB / 1.382 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.445, allocations: 12 kB / 1.382 GB, free: 12.13 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001561/0.4451, allocations: 135.9 kB / 1.382 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.4452, allocations: 27.66 kB / 1.382 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.794e-05/0.4453, allocations: 37.86 kB / 1.382 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4453, allocations: 0 / 1.382 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4453, allocations: 0 / 1.382 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4453, allocations: 3.938 kB / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.4464, allocations: 0.6834 MB / 1.383 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.4464, allocations: 224 / 1.383 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.4466, allocations: 35.97 kB / 1.383 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.4466, allocations: 4 kB / 1.383 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.4466, allocations: 0 / 1.383 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/0.4466, allocations: 7.938 kB / 1.383 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.4466, allocations: 8 kB / 1.383 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.4477, allocations: 1.026 MB / 1.384 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.4478, allocations: 120.8 kB / 1.384 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.4479, allocations: 7.938 kB / 1.384 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.448, allocations: 15.98 kB / 1.384 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.4481, allocations: 11.92 kB / 1.384 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.4481, allocations: 8 kB / 1.384 GB, free: 9.824 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001614/0.4483, allocations: 176.5 kB / 1.385 GB, free: 9.652 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.61e-07/0.4483, allocations: 4 kB / 1.385 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000441/0.4487, allocations: 63.94 kB / 1.385 GB, free: 9.586 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (14): * Single equations (assignments): 14 * 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.0003659/0.4491, allocations: 140.4 kB / 1.385 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004845/0.4496, allocations: 175.8 kB / 1.385 GB, free: 9.277 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4496, allocations: 0 / 1.385 GB, free: 9.277 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.4499, allocations: 104.3 kB / 1.385 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007815/0.4506, allocations: 126.7 kB / 1.385 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008609/0.4515, allocations: 0.6568 MB / 1.386 GB, free: 8.332 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.4519, allocations: 0.7599 MB / 1.387 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002349/0.4521, allocations: 65.84 kB / 1.387 GB, free: 7.48 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.677e-05/0.4522, allocations: 23.44 kB / 1.387 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of SimCode: time 3.2e-07/0.4522, allocations: 0 / 1.387 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of Templates: time 0.008954/0.4611, allocations: 4.292 MB / 1.391 GB, free: 3.234 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)