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.001526/0.001526, allocations: 105.9 kB / 16.27 MB, free: 6.414 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.001495/0.001495, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.381/1.381, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00359/0.00359, allocations: 290.5 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.244/1.244, allocations: 178.6 MB / 0.5079 GB, free: 12.74 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002683/0.002683, allocations: 103.8 kB / 0.6071 GB, free: 9.273 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1921, allocations: 89.13 MB / 0.6941 GB, free: 64 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4917/0.6838, allocations: 161.3 MB / 0.8517 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002433/0.6863, allocations: 0.9679 MB / 0.8526 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002744/0.6866, allocations: 7.875 kB / 0.8526 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006212/0.6872, allocations: 153 kB / 0.8528 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.6891, allocations: 0.6396 MB / 0.8534 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006865/0.6898, allocations: 211.2 kB / 0.8536 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007601/0.6906, allocations: 0.5277 MB / 0.8541 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003586/0.691, allocations: 172.2 kB / 0.8543 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004503/0.6914, allocations: 232.4 kB / 0.8545 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.6917, allocations: 163 kB / 0.8547 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.6917, allocations: 14.06 kB / 0.8547 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009903/0.6927, allocations: 0.5339 MB / 0.8552 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.6929, allocations: 85.14 kB / 0.8553 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.693, allocations: 110 kB / 0.8554 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007443/0.6938, allocations: 489.9 kB / 0.8559 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.6938, allocations: 4 kB / 0.8559 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6938, allocations: 5.312 kB / 0.8559 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.6938, allocations: 0 / 0.8559 GB, free: 1.746 MB / 0.6075 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.001457/0.6953, allocations: 0.5925 MB / 0.8564 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.6953, allocations: 9.625 kB / 0.8565 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002587/0.6956, allocations: 52.42 kB / 0.8565 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.696, allocations: 270.2 kB / 0.8568 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.696, allocations: 15.02 kB / 0.8568 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.6961, allocations: 18.47 kB / 0.8568 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006009/0.6967, allocations: 245.3 kB / 0.857 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.6967, allocations: 0 / 0.857 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.6967, allocations: 5.25 kB / 0.857 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.6968, allocations: 8.469 kB / 0.857 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006452/0.6974, allocations: 253.4 kB / 0.8573 GB, free: 0.6328 MB / 0.6075 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.001369/0.6988, allocations: 0.8429 MB / 0.8581 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.6991, allocations: 138.6 kB / 0.8582 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.6994, allocations: 114 kB / 0.8583 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003007/0.6997, allocations: 196.1 kB / 0.8585 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.6997, allocations: 31.84 kB / 0.8586 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.6997, allocations: 0 / 0.8586 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14): time 0.0008864/0.7006, allocations: 306.6 kB / 0.8589 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.7007, allocations: 54.41 kB / 0.8589 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.701, allocations: 243.4 kB / 0.8591 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.701, allocations: 32.58 kB / 0.8592 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.7011, allocations: 134.5 kB / 0.8593 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.7012, allocations: 44.77 kB / 0.8593 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/0.7013, allocations: 39.2 kB / 0.8594 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.7014, allocations: 327.8 kB / 0.8597 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.7016, allocations: 71.34 kB / 0.8598 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.7018, allocations: 102.7 kB / 0.8599 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.7022, allocations: 171.6 kB / 0.86 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7022, allocations: 0 / 0.86 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000447/0.7027, allocations: 221.5 kB / 0.8602 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.7027, allocations: 5.25 kB / 0.8602 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.7027, allocations: 7.922 kB / 0.8602 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.7027, allocations: 2.438 kB / 0.8602 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.7029, allocations: 31.45 kB / 0.8603 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.7029, allocations: 0.7812 kB / 0.8603 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.7031, allocations: 27.77 kB / 0.8603 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.7031, allocations: 9.875 kB / 0.8603 GB, free: 14.23 MB / 0.6231 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.0001475/0.7033, allocations: 146.3 kB / 0.8605 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.7034, allocations: 18.5 kB / 0.8605 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.495e-05/0.7034, allocations: 35.08 kB / 0.8605 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.7034, allocations: 5.531 kB / 0.8605 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7035, allocations: 2.688 kB / 0.8605 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.7035, allocations: 0 / 0.8605 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.7045, allocations: 0.6767 MB / 0.8612 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.7046, allocations: 3.031 kB / 0.8612 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.7047, allocations: 32.86 kB / 0.8612 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.7047, allocations: 2.438 kB / 0.8612 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.7048, allocations: 10.2 kB / 0.8612 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.7048, allocations: 2.75 kB / 0.8612 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.7048, allocations: 8 kB / 0.8612 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.7053, allocations: 350.5 kB / 0.8616 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.7054, allocations: 114.3 kB / 0.8617 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.7055, allocations: 8.984 kB / 0.8617 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.7056, allocations: 9.062 kB / 0.8617 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.7057, allocations: 17.11 kB / 0.8617 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.7057, allocations: 9.844 kB / 0.8617 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001537/0.7059, allocations: 174.7 kB / 0.8619 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7059, allocations: 0 / 0.8619 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003527/0.7062, allocations: 65.28 kB / 0.8619 GB, free: 12.9 MB / 0.6231 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.0003776/0.7066, allocations: 157.1 kB / 0.8621 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004649/0.7071, allocations: 184.8 kB / 0.8623 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7071, allocations: 0 / 0.8623 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.7073, allocations: 93.19 kB / 0.8624 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007327/0.7081, allocations: 131.3 kB / 0.8625 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007901/0.7089, allocations: 475.5 kB / 0.8629 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.7093, allocations: 0.7534 MB / 0.8637 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.7094, allocations: 28.67 kB / 0.8637 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of SimCode: time 2.244e-06/0.7094, allocations: 0 / 0.8637 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of Templates: time 0.006183/0.7156, allocations: 3.699 MB / 0.8673 GB, free: 8.555 MB / 0.6231 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)