Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009594/0.0009595, 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.0009083/0.0009084, 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.353/1.353, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001624/0.001624, allocations: 254.9 kB / 291.3 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9644/0.9644, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004626, allocations: 11.81 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2228, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6321/0.8549, allocations: 146.5 MB / 0.8275 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.8567, allocations: 0.9105 MB / 0.8284 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.8569, allocations: 10.62 kB / 0.8284 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000472/0.8574, allocations: 109.1 kB / 0.8285 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.8586, allocations: 469.8 kB / 0.829 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.8592, allocations: 183.8 kB / 0.8291 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006868/0.8599, allocations: 0.6195 MB / 0.8297 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.8602, allocations: 137.1 kB / 0.8299 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003791/0.8606, allocations: 219.1 kB / 0.8301 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.8608, allocations: 153.7 kB / 0.8302 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.8608, allocations: 9.625 kB / 0.8302 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006283/0.8614, allocations: 297.8 kB / 0.8305 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.938e-05/0.8615, allocations: 80.8 kB / 0.8306 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.212e-05/0.8616, allocations: 62.55 kB / 0.8307 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.862, allocations: 292.7 kB / 0.8309 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.862, allocations: 0 / 0.8309 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.763e-06/0.862, allocations: 0 / 0.8309 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.8621, allocations: 5.125 kB / 0.8309 GB, free: 12.62 MB / 0.5606 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.001276/0.8633, allocations: 0.5532 MB / 0.8315 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.8634, allocations: 8.438 kB / 0.8315 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000238/0.8636, allocations: 54.53 kB / 0.8315 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.864, allocations: 272.9 kB / 0.8318 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.864, allocations: 13.36 kB / 0.8318 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.864, allocations: 22.03 kB / 0.8318 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004677/0.8645, allocations: 237.2 kB / 0.8321 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.8645, allocations: 3.984 kB / 0.8321 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.8645, allocations: 5.344 kB / 0.8321 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.8646, allocations: 10.22 kB / 0.8321 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005797/0.8652, allocations: 272.7 kB / 0.8323 GB, free: 11.71 MB / 0.5606 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.001121/0.8663, allocations: 0.8445 MB / 0.8332 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.8666, allocations: 151.2 kB / 0.8333 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.8668, allocations: 113.9 kB / 0.8334 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/0.867, allocations: 182 kB / 0.8336 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.8671, allocations: 47.5 kB / 0.8336 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 2.635e-06/0.8671, allocations: 0 / 0.8336 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0007538/0.8678, allocations: 328.9 kB / 0.834 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.8679, allocations: 54.72 kB / 0.834 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.8681, allocations: 240.3 kB / 0.8342 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.8681, allocations: 25.7 kB / 0.8343 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.393e-05/0.8682, allocations: 132.7 kB / 0.8344 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.8683, allocations: 56.75 kB / 0.8344 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/0.8683, allocations: 0 / 0.8344 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.8684, allocations: 334.9 kB / 0.8348 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.8686, allocations: 75.12 kB / 0.8348 GB, free: 10 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.8688, allocations: 103.7 kB / 0.8349 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.869, allocations: 87.64 kB / 0.835 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.869, allocations: 3.938 kB / 0.835 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003964/0.8694, allocations: 224.2 kB / 0.8352 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.8694, allocations: 3.438 kB / 0.8352 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.8694, allocations: 0 / 0.8352 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.8694, allocations: 3.062 kB / 0.8352 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.8696, allocations: 39.14 kB / 0.8353 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.8696, allocations: 3.406 kB / 0.8353 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.8698, allocations: 25.92 kB / 0.8353 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.8698, allocations: 8.219 kB / 0.8353 GB, free: 9.832 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.87, allocations: 145.8 kB / 0.8354 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.87, allocations: 25.39 kB / 0.8355 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.005e-05/0.8701, allocations: 27.78 kB / 0.8355 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.8701, allocations: 3.344 kB / 0.8355 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.8701, allocations: 3.953 kB / 0.8355 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.8701, allocations: 8.016 kB / 0.8355 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009415/0.8711, allocations: 0.6955 MB / 0.8362 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.8711, allocations: 3.219 kB / 0.8362 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.8712, allocations: 30.2 kB / 0.8362 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/0.8713, allocations: 3.344 kB / 0.8362 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.8713, allocations: 6.562 kB / 0.8362 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.8713, allocations: 7.328 kB / 0.8362 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.8713, allocations: 7.281 kB / 0.8362 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004515/0.8718, allocations: 363.9 kB / 0.8366 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.386e-05/0.8719, allocations: 115.4 kB / 0.8367 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.8719, allocations: 5.438 kB / 0.8367 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.8721, allocations: 15.95 kB / 0.8367 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.8722, allocations: 19.02 kB / 0.8367 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.8722, allocations: 9.625 kB / 0.8368 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000144/0.8723, allocations: 176.5 kB / 0.8369 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8723, allocations: 0 / 0.8369 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003242/0.8727, allocations: 52.62 kB / 0.837 GB, free: 8.711 MB / 0.5606 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 (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.0003589/0.873, allocations: 158.1 kB / 0.8371 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004091/0.8734, allocations: 182.2 kB / 0.8373 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8735, allocations: 0 / 0.8373 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.8737, allocations: 106.3 kB / 0.8374 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006823/0.8744, allocations: 118.9 kB / 0.8375 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00067/0.875, allocations: 0.5018 MB / 0.838 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.8754, allocations: 0.7521 MB / 0.8387 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002117/0.8756, allocations: 64.67 kB / 0.8388 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.8756, allocations: 19.19 kB / 0.8388 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.8757, allocations: 0 / 0.8388 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of Templates: time 0.00749/0.8831, allocations: 4.07 MB / 0.8428 GB, free: 5.355 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)