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.001014/0.001014, allocations: 113.7 kB / 16.37 MB, free: 6.004 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.0009692/0.0009692, allocations: 196 kB / 17.31 MB, free: 5.613 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002073/0.002073, allocations: 283 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.919/0.919, allocations: 169.3 MB / 0.4989 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 99.94 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1635, allocations: 86.98 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4723/0.6358, allocations: 161.3 MB / 0.8391 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.6377, allocations: 0.9604 MB / 0.8401 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.6379, allocations: 11.88 kB / 0.8401 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005374/0.6385, allocations: 159 kB / 0.8402 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.6399, allocations: 0.638 MB / 0.8409 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005599/0.6405, allocations: 215.9 kB / 0.8411 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005526/0.6411, allocations: 0.5265 MB / 0.8416 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.6414, allocations: 172.1 kB / 0.8417 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003735/0.6418, allocations: 231.1 kB / 0.842 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.642, allocations: 155.4 kB / 0.8421 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.642, allocations: 16 kB / 0.8421 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000779/0.6428, allocations: 0.5416 MB / 0.8427 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.639e-05/0.6429, allocations: 79.78 kB / 0.8427 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.643, allocations: 111.4 kB / 0.8428 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006219/0.6436, allocations: 0.4897 MB / 0.8433 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6436, allocations: 4 kB / 0.8433 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6437, allocations: 4 kB / 0.8433 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.6437, allocations: 0 / 0.8433 GB, free: 8.895 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.001301/0.645, allocations: 0.589 MB / 0.8439 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.645, allocations: 12.02 kB / 0.8439 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/0.6453, allocations: 51.69 kB / 0.844 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.6457, allocations: 303.2 kB / 0.8443 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.6458, allocations: 16.27 kB / 0.8443 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.6458, allocations: 15.94 kB / 0.8443 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.6463, allocations: 243.8 kB / 0.8445 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.6463, allocations: 0 / 0.8445 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.6463, allocations: 4 kB / 0.8445 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.6463, allocations: 12 kB / 0.8445 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005233/0.6469, allocations: 255.6 kB / 0.8448 GB, free: 7.324 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.001212/0.6481, allocations: 0.8355 MB / 0.8456 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.6484, allocations: 146.4 kB / 0.8457 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.6486, allocations: 112.9 kB / 0.8458 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002473/0.6488, allocations: 190.2 kB / 0.846 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.6489, allocations: 34.56 kB / 0.8461 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.6489, allocations: 0 / 0.8461 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0007709/0.6497, allocations: 304.5 kB / 0.8463 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.6497, allocations: 51.41 kB / 0.8464 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.6499, allocations: 249 kB / 0.8466 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.65, allocations: 25.7 kB / 0.8467 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.223e-05/0.6501, allocations: 140.2 kB / 0.8468 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.6501, allocations: 47.23 kB / 0.8468 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.711e-05/0.6502, allocations: 41.61 kB / 0.8469 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.6503, allocations: 330.8 kB / 0.8472 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.6505, allocations: 67.94 kB / 0.8473 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.6507, allocations: 107.2 kB / 0.8474 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.651, allocations: 162.4 kB / 0.8475 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.651, allocations: 0 / 0.8475 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004225/0.6515, allocations: 217.3 kB / 0.8477 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.6515, allocations: 8 kB / 0.8477 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6515, allocations: 4.875 kB / 0.8477 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.6515, allocations: 0 / 0.8477 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.6517, allocations: 27.98 kB / 0.8478 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.6517, allocations: 3.938 kB / 0.8478 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.6519, allocations: 23.83 kB / 0.8478 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.6519, allocations: 11.98 kB / 0.8478 GB, free: 4.027 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.0001278/0.652, allocations: 145.8 kB / 0.8479 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.6521, allocations: 23.72 kB / 0.848 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.121e-05/0.6522, allocations: 37.77 kB / 0.848 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.6522, allocations: 0 / 0.848 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6522, allocations: 0 / 0.848 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6522, allocations: 0 / 0.848 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009752/0.6532, allocations: 0.6718 MB / 0.8487 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.6532, allocations: 0 / 0.8487 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.6533, allocations: 40.12 kB / 0.8487 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.6534, allocations: 8 kB / 0.8487 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.6534, allocations: 0 / 0.8487 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6534, allocations: 4 kB / 0.8487 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6534, allocations: 5.562 kB / 0.8487 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004544/0.6539, allocations: 354.2 kB / 0.849 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.654, allocations: 116.8 kB / 0.8492 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.654, allocations: 4 kB / 0.8492 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.6542, allocations: 8 kB / 0.8492 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.6543, allocations: 23.86 kB / 0.8492 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.6543, allocations: 11.98 kB / 0.8492 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001487/0.6544, allocations: 176.5 kB / 0.8494 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6544, allocations: 0 / 0.8494 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003316/0.6548, allocations: 59.98 kB / 0.8494 GB, free: 2.227 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.0003541/0.6551, allocations: 159.3 kB / 0.8496 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004403/0.6556, allocations: 179.8 kB / 0.8497 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.6556, allocations: 0 / 0.8497 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.6558, allocations: 95.81 kB / 0.8498 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006574/0.6565, allocations: 127.8 kB / 0.85 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006939/0.6572, allocations: 444.4 kB / 0.8504 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.6575, allocations: 0.7558 MB / 0.8511 GB, free: 432 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001735/0.6576, allocations: 57.91 kB / 0.8512 GB, free: 372 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.6577, allocations: 23.42 kB / 0.8512 GB, free: 348 kB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.6577, allocations: 4 kB / 0.8512 GB, free: 344 kB / 0.6075 GB Notification: Performance of Templates: time 0.008214/0.6659, allocations: 4.435 MB / 0.8555 GB, free: 11.98 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)