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.00105/0.00105, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001148/0.001149, allocations: 190.8 kB / 16.14 MB, free: 6.707 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.294/1.294, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002043/0.002043, allocations: 279 kB / 290.2 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9571/0.9571, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 89.19 kB / 0.5945 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1761, allocations: 86.99 MB / 0.6794 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5138/0.69, allocations: 159.1 MB / 0.8348 GB, free: 224 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.6918, allocations: 0.9667 MB / 0.8357 GB, free: 104 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.692, allocations: 8.438 kB / 0.8357 GB, free: 100 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004749/0.6926, allocations: 130.8 kB / 0.8358 GB, free: 56 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001306/0.6939, allocations: 0.5948 MB / 0.8364 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.6944, allocations: 207.1 kB / 0.8366 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008179/0.6953, allocations: 0.744 MB / 0.8374 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003144/0.6956, allocations: 152.4 kB / 0.8375 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004027/0.696, allocations: 213.6 kB / 0.8377 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.6962, allocations: 172.2 kB / 0.8379 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.6963, allocations: 9.094 kB / 0.8379 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009275/0.6972, allocations: 0.6423 MB / 0.8385 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.46e-05/0.6973, allocations: 78.41 kB / 0.8386 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.6974, allocations: 106.3 kB / 0.8387 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006447/0.6981, allocations: 0.5078 MB / 0.8392 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6981, allocations: 1.094 kB / 0.8392 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.12e-07/0.6981, allocations: 0 / 0.8392 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.6981, allocations: 0 / 0.8392 GB, free: 15.47 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.001375/0.6995, allocations: 0.5978 MB / 0.8398 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.6995, allocations: 13.59 kB / 0.8398 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002537/0.6998, allocations: 45.38 kB / 0.8398 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.7001, allocations: 286.9 kB / 0.8401 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.7001, allocations: 10.14 kB / 0.8401 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.7002, allocations: 18.31 kB / 0.8401 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004867/0.7007, allocations: 235.9 kB / 0.8403 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.7007, allocations: 0 / 0.8403 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.7007, allocations: 12.05 kB / 0.8404 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.7007, allocations: 8 kB / 0.8404 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006075/0.7013, allocations: 259.9 kB / 0.8406 GB, free: 14.54 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.001246/0.7026, allocations: 0.8386 MB / 0.8414 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.7029, allocations: 140.9 kB / 0.8416 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.7031, allocations: 113.2 kB / 0.8417 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002981/0.7034, allocations: 191.8 kB / 0.8419 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.7035, allocations: 35.88 kB / 0.8419 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 2.835e-06/0.7035, allocations: 0 / 0.8419 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0008226/0.7043, allocations: 310.5 kB / 0.8422 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.7044, allocations: 52.78 kB / 0.8422 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.7046, allocations: 242.3 kB / 0.8425 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.7046, allocations: 30.77 kB / 0.8425 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.935e-05/0.7048, allocations: 129.6 kB / 0.8426 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.614e-05/0.7048, allocations: 52.09 kB / 0.8427 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.095e-05/0.7049, allocations: 36.8 kB / 0.8427 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.7051, allocations: 338.8 kB / 0.843 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.7053, allocations: 63.27 kB / 0.8431 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.7055, allocations: 107.2 kB / 0.8432 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004351/0.706, allocations: 166.8 kB / 0.8433 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.706, allocations: 1.5 kB / 0.8433 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000476/0.7065, allocations: 216.7 kB / 0.8436 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.7065, allocations: 6.719 kB / 0.8436 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.7065, allocations: 3.938 kB / 0.8436 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.7065, allocations: 1.5 kB / 0.8436 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.7067, allocations: 30.92 kB / 0.8436 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.7068, allocations: 9.172 kB / 0.8436 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.7069, allocations: 24.92 kB / 0.8436 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.707, allocations: 4.375 kB / 0.8436 GB, free: 12.62 MB / 0.5762 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.0001596/0.7071, allocations: 144.2 kB / 0.8438 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-05/0.7072, allocations: 21.59 kB / 0.8438 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.212e-05/0.7073, allocations: 37.11 kB / 0.8438 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.7073, allocations: 2.656 kB / 0.8438 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.7073, allocations: 4 kB / 0.8438 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.7073, allocations: 0 / 0.8438 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.7085, allocations: 0.6825 MB / 0.8445 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.7085, allocations: 3 kB / 0.8445 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.7087, allocations: 30.53 kB / 0.8445 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.7087, allocations: 6.812 kB / 0.8445 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.7087, allocations: 5.781 kB / 0.8445 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.7087, allocations: 7.719 kB / 0.8445 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.7087, allocations: 3 kB / 0.8446 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005353/0.7093, allocations: 355.6 kB / 0.8449 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.7094, allocations: 118 kB / 0.845 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.7094, allocations: 3.906 kB / 0.845 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.7096, allocations: 14.86 kB / 0.845 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/0.7097, allocations: 13.7 kB / 0.845 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.7097, allocations: 8.562 kB / 0.845 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001759/0.7099, allocations: 181.2 kB / 0.8452 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.71, allocations: 3.938 kB / 0.8452 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003641/0.7104, allocations: 60.09 kB / 0.8453 GB, free: 11.37 MB / 0.5762 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.0003736/0.7107, allocations: 156 kB / 0.8454 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004226/0.7112, allocations: 171.5 kB / 0.8456 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7112, allocations: 0 / 0.8456 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.7114, allocations: 98 kB / 0.8457 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007397/0.7121, allocations: 119.5 kB / 0.8458 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009524/0.7131, allocations: 0.5055 MB / 0.8463 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.7136, allocations: 0.7521 MB / 0.847 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002407/0.7138, allocations: 60.12 kB / 0.8471 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.565e-05/0.7139, allocations: 24.39 kB / 0.8471 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.7139, allocations: 0 / 0.8471 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of Templates: time 0.00885/0.7228, allocations: 4.213 MB / 0.8512 GB, free: 7.844 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)