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.001211/0.001211, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001506/0.001506, allocations: 198.2 kB / 16.26 MB, free: 6.629 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.436/1.436, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002578/0.002578, allocations: 282.9 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.079/1.079, allocations: 178.6 MB / 0.507 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002826/0.002826, allocations: 104.4 kB / 0.6059 GB, free: 25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1785, allocations: 89.15 MB / 0.693 GB, free: 4.73 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4855/0.664, allocations: 159.1 MB / 0.8484 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001993/0.6661, allocations: 0.9682 MB / 0.8493 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003593/0.6664, allocations: 9.406 kB / 0.8493 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005929/0.667, allocations: 138.2 kB / 0.8494 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.6687, allocations: 0.5919 MB / 0.85 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006068/0.6693, allocations: 199.7 kB / 0.8502 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006707/0.67, allocations: 0.5158 MB / 0.8507 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003812/0.6704, allocations: 183.6 kB / 0.8509 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004944/0.6709, allocations: 243.1 kB / 0.8511 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.6712, allocations: 169.5 kB / 0.8513 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.6712, allocations: 14.84 kB / 0.8513 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008691/0.6721, allocations: 0.5624 MB / 0.8518 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.6722, allocations: 88.81 kB / 0.8519 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.6723, allocations: 112.9 kB / 0.852 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000743/0.6731, allocations: 0.5088 MB / 0.8525 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6731, allocations: 0 / 0.8525 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6731, allocations: 4 kB / 0.8525 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.6731, allocations: 2.094 kB / 0.8525 GB, free: 2.203 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.001398/0.6745, allocations: 0.5961 MB / 0.8531 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.6746, allocations: 10.72 kB / 0.8531 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.6748, allocations: 53.33 kB / 0.8532 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.6752, allocations: 279.6 kB / 0.8534 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.6752, allocations: 12.45 kB / 0.8535 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.6753, allocations: 14.44 kB / 0.8535 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.6758, allocations: 242.8 kB / 0.8537 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.6758, allocations: 0 / 0.8537 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.6758, allocations: 7.938 kB / 0.8537 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.6758, allocations: 14.95 kB / 0.8537 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006177/0.6765, allocations: 249.4 kB / 0.854 GB, free: 1.074 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.001286/0.6778, allocations: 0.8396 MB / 0.8548 GB, free: 364 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.6781, allocations: 151.1 kB / 0.8549 GB, free: 272 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/0.6784, allocations: 114.3 kB / 0.855 GB, free: 212 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002929/0.6787, allocations: 188.9 kB / 0.8552 GB, free: 8 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.6787, allocations: 34.56 kB / 0.8553 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.6787, allocations: 0 / 0.8553 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.0008311/0.6796, allocations: 305.5 kB / 0.8555 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.6796, allocations: 51.41 kB / 0.8556 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.6799, allocations: 245.1 kB / 0.8558 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.6799, allocations: 25.7 kB / 0.8559 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.68, allocations: 145 kB / 0.856 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.6801, allocations: 44.78 kB / 0.856 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.489e-05/0.6802, allocations: 42.02 kB / 0.8561 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.6803, allocations: 327.5 kB / 0.8564 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.6805, allocations: 67 kB / 0.8564 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.6807, allocations: 110.5 kB / 0.8566 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.6811, allocations: 165.5 kB / 0.8567 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6811, allocations: 0 / 0.8567 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004364/0.6816, allocations: 215.3 kB / 0.8569 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.6816, allocations: 2.781 kB / 0.8569 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.6816, allocations: 6.062 kB / 0.8569 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.6816, allocations: 2.531 kB / 0.8569 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.6818, allocations: 28.52 kB / 0.857 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.6818, allocations: 2.406 kB / 0.857 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.682, allocations: 25.52 kB / 0.857 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.682, allocations: 9.234 kB / 0.857 GB, free: 14.66 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.000156/0.6822, allocations: 149.1 kB / 0.8571 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.6822, allocations: 21.56 kB / 0.8572 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.266e-05/0.6823, allocations: 36.83 kB / 0.8572 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.6824, allocations: 0 / 0.8572 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6824, allocations: 3.062 kB / 0.8572 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.6824, allocations: 0 / 0.8572 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.6834, allocations: 0.6772 MB / 0.8579 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6835, allocations: 2.406 kB / 0.8579 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.6836, allocations: 34.84 kB / 0.8579 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.6836, allocations: 6 kB / 0.8579 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.6837, allocations: 3.844 kB / 0.8579 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.6837, allocations: 3 kB / 0.8579 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6837, allocations: 2.281 kB / 0.8579 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005053/0.6842, allocations: 362 kB / 0.8582 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.6843, allocations: 116 kB / 0.8584 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.577e-05/0.6844, allocations: 5.844 kB / 0.8584 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.6845, allocations: 11.77 kB / 0.8584 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.6846, allocations: 25.11 kB / 0.8584 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.6846, allocations: 10.06 kB / 0.8584 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001529/0.6848, allocations: 176.9 kB / 0.8586 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6848, allocations: 0 / 0.8586 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003473/0.6851, allocations: 60.2 kB / 0.8586 GB, free: 13.32 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.000372/0.6855, allocations: 158.4 kB / 0.8588 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004429/0.686, allocations: 178.8 kB / 0.859 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.686, allocations: 0 / 0.859 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.6862, allocations: 94.16 kB / 0.859 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007578/0.687, allocations: 122.3 kB / 0.8592 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007655/0.6877, allocations: 0.5023 MB / 0.8597 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.6881, allocations: 0.7477 MB / 0.8604 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000225/0.6884, allocations: 68.95 kB / 0.8604 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.496e-05/0.6885, allocations: 27.83 kB / 0.8605 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.6885, allocations: 0 / 0.8605 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of Templates: time 0.008829/0.6973, allocations: 4.347 MB / 0.8647 GB, free: 9.703 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)