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.001062/0.001062, allocations: 99.8 kB / 16.35 MB, free: 5.828 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.001108/0.001109, allocations: 193.4 kB / 17.29 MB, free: 5.484 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00219/0.00219, allocations: 295.2 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9326/0.9326, allocations: 169.3 MB / 0.4989 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 88.48 kB / 0.5966 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1688, allocations: 86.98 MB / 0.6816 GB, free: 7.406 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4669/0.6358, allocations: 161.3 MB / 0.8391 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.6377, allocations: 0.9614 MB / 0.8401 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.6379, allocations: 11.94 kB / 0.8401 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005632/0.6385, allocations: 159 kB / 0.8402 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.64, allocations: 0.638 MB / 0.8409 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005774/0.6406, allocations: 220.2 kB / 0.8411 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005942/0.6412, allocations: 0.5148 MB / 0.8416 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/0.6415, allocations: 180.2 kB / 0.8417 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000395/0.642, allocations: 231.1 kB / 0.842 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.6422, allocations: 159.4 kB / 0.8421 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.6422, allocations: 12 kB / 0.8421 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008287/0.643, allocations: 0.5455 MB / 0.8427 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.6432, allocations: 79.78 kB / 0.8427 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.6433, allocations: 115.4 kB / 0.8428 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006494/0.6439, allocations: 497.4 kB / 0.8433 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.6439, allocations: 0 / 0.8433 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.644, allocations: 4 kB / 0.8433 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.82e-06/0.644, allocations: 0 / 0.8433 GB, free: 8.793 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.001322/0.6453, allocations: 0.5968 MB / 0.8439 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.6453, allocations: 8.031 kB / 0.8439 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002492/0.6456, allocations: 43.69 kB / 0.844 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.6461, allocations: 303.2 kB / 0.8442 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.6461, allocations: 12.33 kB / 0.8443 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.6461, allocations: 20 kB / 0.8443 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/0.6466, allocations: 240.7 kB / 0.8445 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.6467, allocations: 0 / 0.8445 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.6467, allocations: 8 kB / 0.8445 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.6467, allocations: 19.91 kB / 0.8445 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005599/0.6473, allocations: 251.6 kB / 0.8448 GB, free: 7.219 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.001286/0.6486, allocations: 0.8355 MB / 0.8456 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.6489, allocations: 142.4 kB / 0.8457 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.6491, allocations: 112.9 kB / 0.8458 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002653/0.6494, allocations: 186.2 kB / 0.846 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.6494, allocations: 38.56 kB / 0.846 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.6494, allocations: 0 / 0.846 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0008046/0.6502, allocations: 296.3 kB / 0.8463 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.6503, allocations: 63.34 kB / 0.8464 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.6505, allocations: 241 kB / 0.8466 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.6506, allocations: 33.7 kB / 0.8466 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.928e-05/0.6506, allocations: 132.2 kB / 0.8468 GB, free: 5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.6507, allocations: 51.3 kB / 0.8468 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/0.6508, allocations: 37.61 kB / 0.8469 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.6509, allocations: 330.8 kB / 0.8472 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.6511, allocations: 75.81 kB / 0.8472 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.6513, allocations: 106.5 kB / 0.8473 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.6516, allocations: 166.4 kB / 0.8475 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6516, allocations: 0 / 0.8475 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004513/0.6521, allocations: 217.3 kB / 0.8477 GB, free: 4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.6521, allocations: 4 kB / 0.8477 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.6521, allocations: 7.938 kB / 0.8477 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.6522, allocations: 0 / 0.8477 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.6524, allocations: 27.98 kB / 0.8478 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.6524, allocations: 0 / 0.8478 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.6525, allocations: 23.83 kB / 0.8478 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.6526, allocations: 7.984 kB / 0.8478 GB, free: 3.93 MB / 0.6075 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.000126/0.6527, allocations: 145.8 kB / 0.8479 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.6528, allocations: 23.72 kB / 0.8479 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.707e-05/0.6528, allocations: 37.7 kB / 0.848 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.6529, allocations: 4 kB / 0.848 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.6529, allocations: 0 / 0.848 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6529, allocations: 0 / 0.848 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.6539, allocations: 0.6796 MB / 0.8486 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.6539, allocations: 0 / 0.8486 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.6541, allocations: 35.91 kB / 0.8487 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.6541, allocations: 224 / 0.8487 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.6541, allocations: 12 kB / 0.8487 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.6542, allocations: 4 kB / 0.8487 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6542, allocations: 0 / 0.8487 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.6546, allocations: 357.4 kB / 0.849 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.6548, allocations: 116.8 kB / 0.8491 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.6548, allocations: 4 kB / 0.8492 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.655, allocations: 11.98 kB / 0.8492 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.655, allocations: 19.88 kB / 0.8492 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.6551, allocations: 7.984 kB / 0.8492 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00015/0.6552, allocations: 176.5 kB / 0.8494 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6552, allocations: 0 / 0.8494 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003572/0.6556, allocations: 59.98 kB / 0.8494 GB, free: 2.125 MB / 0.6075 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.0003874/0.656, allocations: 155.8 kB / 0.8496 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004454/0.6564, allocations: 179.8 kB / 0.8497 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6565, allocations: 0 / 0.8497 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.6567, allocations: 95.88 kB / 0.8498 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006892/0.6574, allocations: 125.8 kB / 0.8499 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006883/0.6581, allocations: 440.4 kB / 0.8504 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.6584, allocations: 0.7519 MB / 0.8511 GB, free: 336 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001799/0.6585, allocations: 65.89 kB / 0.8512 GB, free: 268 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.506e-05/0.6586, allocations: 23.42 kB / 0.8512 GB, free: 244 kB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.6586, allocations: 3.938 kB / 0.8512 GB, free: 240 kB / 0.6075 GB Notification: Performance of Templates: time 0.008526/0.6672, allocations: 4.436 MB / 0.8555 GB, free: 11.88 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)