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.0008315/0.0008315, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004998/0.004998, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.315/1.315, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001796/0.001796, allocations: 275 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.944/0.944, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004025, allocations: 19.31 kB / 0.5986 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1526, allocations: 88.55 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5114/0.664, allocations: 157 MB / 0.8385 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001892/0.6659, allocations: 0.9561 MB / 0.8394 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.6661, allocations: 7.344 kB / 0.8394 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00053/0.6667, allocations: 135.8 kB / 0.8395 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.6683, allocations: 0.5929 MB / 0.8401 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000526/0.6688, allocations: 198.8 kB / 0.8403 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007108/0.6696, allocations: 0.7361 MB / 0.841 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/0.6699, allocations: 154.4 kB / 0.8412 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003925/0.6703, allocations: 217.3 kB / 0.8414 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.6705, allocations: 165.6 kB / 0.8415 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.6705, allocations: 9.469 kB / 0.8415 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009127/0.6715, allocations: 0.6369 MB / 0.8422 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.6716, allocations: 80.56 kB / 0.8422 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.6717, allocations: 132.4 kB / 0.8424 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006197/0.6723, allocations: 0.5078 MB / 0.8429 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6723, allocations: 4 kB / 0.8429 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6724, allocations: 0 / 0.8429 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.6724, allocations: 0 / 0.8429 GB, free: 5.027 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.001314/0.6737, allocations: 0.5499 MB / 0.8434 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.6737, allocations: 8.188 kB / 0.8434 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002891/0.674, allocations: 52.95 kB / 0.8435 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.6744, allocations: 281.3 kB / 0.8437 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.6744, allocations: 19.92 kB / 0.8437 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.6744, allocations: 19.25 kB / 0.8438 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.6749, allocations: 245.1 kB / 0.844 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.675, allocations: 3.938 kB / 0.844 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.675, allocations: 5.625 kB / 0.844 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.675, allocations: 8 kB / 0.844 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005783/0.6756, allocations: 266.3 kB / 0.8443 GB, free: 3.922 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.001157/0.6768, allocations: 0.8386 MB / 0.8451 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.6771, allocations: 148.6 kB / 0.8452 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.6773, allocations: 114.3 kB / 0.8453 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.6776, allocations: 188.2 kB / 0.8455 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.6776, allocations: 41.34 kB / 0.8455 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.6776, allocations: 0 / 0.8455 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0007882/0.6784, allocations: 319.6 kB / 0.8459 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.6785, allocations: 54.25 kB / 0.8459 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.6787, allocations: 240.1 kB / 0.8461 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.6787, allocations: 29.7 kB / 0.8462 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.6788, allocations: 135 kB / 0.8463 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.6788, allocations: 53.47 kB / 0.8463 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.6789, allocations: 26.91 kB / 0.8464 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.679, allocations: 332.5 kB / 0.8467 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.6792, allocations: 74.38 kB / 0.8468 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.6794, allocations: 111.8 kB / 0.8469 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.6797, allocations: 178 kB / 0.847 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6797, allocations: 0 / 0.847 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004265/0.6802, allocations: 227.8 kB / 0.8472 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.6802, allocations: 8.156 kB / 0.8473 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.6802, allocations: 3.938 kB / 0.8473 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.6802, allocations: 0 / 0.8473 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.6804, allocations: 43.78 kB / 0.8473 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.6804, allocations: 4.562 kB / 0.8473 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.6806, allocations: 25.86 kB / 0.8473 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.6807, allocations: 9.125 kB / 0.8473 GB, free: 1.516 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.6808, allocations: 144.2 kB / 0.8475 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.6808, allocations: 22.69 kB / 0.8475 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.455e-05/0.6809, allocations: 31.97 kB / 0.8475 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.6809, allocations: 3.984 kB / 0.8475 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.681, allocations: 8.469 kB / 0.8475 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.681, allocations: 0 / 0.8475 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009909/0.682, allocations: 0.691 MB / 0.8482 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.682, allocations: 3.281 kB / 0.8482 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.6821, allocations: 32.86 kB / 0.8483 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.6821, allocations: 2.844 kB / 0.8483 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.6822, allocations: 9.766 kB / 0.8483 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.6822, allocations: 7.25 kB / 0.8483 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6822, allocations: 2.938 kB / 0.8483 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004707/0.6826, allocations: 367.5 kB / 0.8486 GB, free: 456 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.039e-05/0.6828, allocations: 110.8 kB / 0.8487 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.6828, allocations: 7.172 kB / 0.8487 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.683, allocations: 9.625 kB / 0.8487 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.683, allocations: 18.17 kB / 0.8488 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.683, allocations: 5.359 kB / 0.8488 GB, free: 324 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001493/0.6832, allocations: 184.4 kB / 0.8489 GB, free: 192 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6832, allocations: 0 / 0.8489 GB, free: 192 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003297/0.6835, allocations: 61.12 kB / 0.849 GB, free: 180 kB / 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 (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.0003251/0.6839, allocations: 164.5 kB / 0.8492 GB, free: 52 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004327/0.6843, allocations: 182.5 kB / 0.8493 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6843, allocations: 3.25 kB / 0.8493 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.6845, allocations: 98.97 kB / 0.8494 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007822/0.6853, allocations: 119.6 kB / 0.8495 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007017/0.686, allocations: 0.5157 MB / 0.85 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.6863, allocations: 0.7495 MB / 0.8508 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002077/0.6866, allocations: 67.23 kB / 0.8508 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.6866, allocations: 21.66 kB / 0.8509 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.6866, allocations: 0 / 0.8509 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of Templates: time 0.007592/0.6942, allocations: 4.189 MB / 0.855 GB, free: 12.62 MB / 0.5762 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)