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.001718/0.001719, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002012/0.002012, allocations: 192.6 kB / 16.14 MB, free: 6.637 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.446/1.446, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002571/0.002571, allocations: 274.2 kB / 290.2 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.121/1.121, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002782/0.002782, allocations: 96.31 kB / 0.6057 GB, free: 25.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.176, allocations: 89.14 MB / 0.6928 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4943/0.6703, allocations: 159.1 MB / 0.8481 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002428/0.6727, allocations: 0.9604 MB / 0.8491 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003801/0.6732, allocations: 8.375 kB / 0.8491 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007214/0.6739, allocations: 135.8 kB / 0.8492 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.6758, allocations: 0.5976 MB / 0.8498 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006014/0.6764, allocations: 209.1 kB / 0.85 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007793/0.6772, allocations: 0.7332 MB / 0.8507 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/0.6775, allocations: 166 kB / 0.8509 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000413/0.678, allocations: 210.6 kB / 0.8511 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.6782, allocations: 168.5 kB / 0.8512 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.6782, allocations: 10.47 kB / 0.8512 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009984/0.6792, allocations: 0.6396 MB / 0.8519 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.6794, allocations: 84.61 kB / 0.8519 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.6795, allocations: 105.5 kB / 0.852 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006984/0.6802, allocations: 0.5079 MB / 0.8525 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.842e-05/0.6802, allocations: 4 kB / 0.8525 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6802, allocations: 0 / 0.8525 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.6802, allocations: 0 / 0.8525 GB, free: 1.922 MB / 0.5762 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.001509/0.6818, allocations: 0.5961 MB / 0.8531 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.6818, allocations: 12.09 kB / 0.8531 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002577/0.6821, allocations: 45.41 kB / 0.8532 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.6825, allocations: 284 kB / 0.8534 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.6825, allocations: 11.7 kB / 0.8535 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/0.6825, allocations: 28.92 kB / 0.8535 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005139/0.6831, allocations: 232.3 kB / 0.8537 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.6831, allocations: 0 / 0.8537 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.6831, allocations: 8 kB / 0.8537 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.6831, allocations: 7.75 kB / 0.8537 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006416/0.6838, allocations: 256.1 kB / 0.854 GB, free: 0.793 MB / 0.5762 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.001325/0.6851, allocations: 0.842 MB / 0.8548 GB, free: 76 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.6855, allocations: 142.2 kB / 0.8549 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.6857, allocations: 112.8 kB / 0.855 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002902/0.686, allocations: 184.5 kB / 0.8552 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.6861, allocations: 36.84 kB / 0.8552 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.6861, allocations: 3.938 kB / 0.8552 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.0008747/0.687, allocations: 305 kB / 0.8555 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.687, allocations: 58.14 kB / 0.8556 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.6873, allocations: 245.1 kB / 0.8558 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.6873, allocations: 29.7 kB / 0.8559 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.6874, allocations: 134.4 kB / 0.856 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.548e-05/0.6875, allocations: 51.11 kB / 0.856 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.301e-05/0.6876, allocations: 36.02 kB / 0.8561 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.6877, allocations: 338.6 kB / 0.8564 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.6879, allocations: 68.25 kB / 0.8565 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.6881, allocations: 98.3 kB / 0.8566 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.6885, allocations: 181.1 kB / 0.8567 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6885, allocations: 0 / 0.8567 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004645/0.689, allocations: 207.4 kB / 0.8569 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.689, allocations: 5.094 kB / 0.8569 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.689, allocations: 3.938 kB / 0.8569 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.6891, allocations: 2.688 kB / 0.8569 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.6893, allocations: 28.12 kB / 0.857 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.6893, allocations: 6.156 kB / 0.857 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.6895, allocations: 29.86 kB / 0.857 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.6895, allocations: 4.688 kB / 0.857 GB, free: 14.38 MB / 0.5919 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.000146/0.6897, allocations: 145.3 kB / 0.8571 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.6897, allocations: 17.94 kB / 0.8572 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.764e-05/0.6898, allocations: 33.47 kB / 0.8572 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.6898, allocations: 4 kB / 0.8572 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.6898, allocations: 4.734 kB / 0.8572 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6898, allocations: 1.875 kB / 0.8572 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.691, allocations: 0.6825 MB / 0.8579 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.691, allocations: 1.812 kB / 0.8579 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.6911, allocations: 30.55 kB / 0.8579 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.6912, allocations: 3.844 kB / 0.8579 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.6912, allocations: 10.7 kB / 0.8579 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.6912, allocations: 2.094 kB / 0.8579 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6912, allocations: 6.656 kB / 0.8579 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005293/0.6917, allocations: 363.1 kB / 0.8583 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.6919, allocations: 112.2 kB / 0.8584 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.6919, allocations: 3.719 kB / 0.8584 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.6921, allocations: 15.98 kB / 0.8584 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.6922, allocations: 12.95 kB / 0.8584 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.6922, allocations: 4.688 kB / 0.8584 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001607/0.6924, allocations: 189.2 kB / 0.8586 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6924, allocations: 0 / 0.8586 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000345/0.6927, allocations: 55.88 kB / 0.8586 GB, free: 13.04 MB / 0.5919 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.0003793/0.6931, allocations: 154.9 kB / 0.8588 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004538/0.6936, allocations: 171 kB / 0.8589 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6936, allocations: 4.062 kB / 0.859 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.6938, allocations: 98.53 kB / 0.859 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007661/0.6946, allocations: 114.2 kB / 0.8592 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007769/0.6954, allocations: 0.5011 MB / 0.8596 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.6958, allocations: 0.7523 MB / 0.8604 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002307/0.696, allocations: 69.08 kB / 0.8604 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.839e-05/0.6961, allocations: 24.16 kB / 0.8605 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.6961, allocations: 0 / 0.8605 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of Templates: time 0.008536/0.7046, allocations: 4.216 MB / 0.8646 GB, free: 9.488 MB / 0.5919 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)