Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.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.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 111.4 kB / 16.37 MB, free: 6 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.001124/0.001124, allocations: 197.6 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.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 284.6 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9008/0.9008, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 91.11 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1558, allocations: 86.97 MB / 0.6816 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop): time 0.44/0.5959, allocations: 161.5 MB / 0.8393 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002569/0.5985, allocations: 1.705 MB / 0.841 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.5987, allocations: 15.88 kB / 0.841 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004725/0.5992, allocations: 155 kB / 0.8411 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.6003, allocations: 0.5094 MB / 0.8416 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000924/0.6012, allocations: 430.5 kB / 0.8421 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006437/0.6019, allocations: 0.5654 MB / 0.8426 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002721/0.6022, allocations: 180.5 kB / 0.8428 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004923/0.6027, allocations: 314.8 kB / 0.8431 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.6029, allocations: 163.2 kB / 0.8432 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.6029, allocations: 15.94 kB / 0.8433 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009377/0.6038, allocations: 0.6898 MB / 0.8439 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.352e-05/0.6039, allocations: 79.77 kB / 0.844 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.6041, allocations: 119.3 kB / 0.8441 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006068/0.6047, allocations: 0.4936 MB / 0.8446 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.6047, allocations: 3.984 kB / 0.8446 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.805e-06/0.6047, allocations: 0 / 0.8446 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.6047, allocations: 3.938 kB / 0.8446 GB, free: 7.617 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007657/0.6055, allocations: 0.5883 MB / 0.8452 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.6055, allocations: 12.03 kB / 0.8452 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003029/0.6058, allocations: 51.69 kB / 0.8452 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.6062, allocations: 301.3 kB / 0.8455 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.6062, allocations: 12 kB / 0.8455 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.6063, allocations: 12 kB / 0.8455 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.6066, allocations: 192.6 kB / 0.8457 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.6066, allocations: 0 / 0.8457 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.6066, allocations: 8 kB / 0.8457 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.6066, allocations: 7.984 kB / 0.8457 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.6069, allocations: 127.8 kB / 0.8459 GB, free: 6.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.0009214/0.6078, allocations: 0.7847 MB / 0.8466 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.6081, allocations: 82.53 kB / 0.8467 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.6082, allocations: 76.86 kB / 0.8468 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000247/0.6085, allocations: 182.2 kB / 0.847 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.6085, allocations: 42.5 kB / 0.847 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.6085, allocations: 0 / 0.847 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006056/0.6091, allocations: 221.2 kB / 0.8472 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.6092, allocations: 55.41 kB / 0.8473 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.6094, allocations: 267 kB / 0.8475 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.6094, allocations: 29.7 kB / 0.8476 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.389e-05/0.6095, allocations: 147.9 kB / 0.8477 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.6096, allocations: 35.53 kB / 0.8477 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.6096, allocations: 30.09 kB / 0.8478 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.6097, allocations: 330.8 kB / 0.8481 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.6099, allocations: 48.83 kB / 0.8481 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.61, allocations: 97.03 kB / 0.8482 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.6102, allocations: 119.3 kB / 0.8483 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6103, allocations: 4 kB / 0.8483 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003053/0.6106, allocations: 161.2 kB / 0.8485 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.6106, allocations: 8 kB / 0.8485 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.6106, allocations: 0 / 0.8485 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.6106, allocations: 3.938 kB / 0.8485 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.6107, allocations: 24.8 kB / 0.8485 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.6108, allocations: 4 kB / 0.8485 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.6109, allocations: 19.92 kB / 0.8485 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.6109, allocations: 11.98 kB / 0.8485 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001749/0.6111, allocations: 144.1 kB / 0.8487 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001387/0.6113, allocations: 93.05 kB / 0.8488 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002231/0.6115, allocations: 126.9 kB / 0.8489 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.6115, allocations: 4 kB / 0.8489 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000305/0.6118, allocations: 153.3 kB / 0.849 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.6118, allocations: 8 kB / 0.8491 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-06/0.6119, allocations: 0 / 0.8491 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-06/0.6119, allocations: 0 / 0.8491 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.612, allocations: 24.02 kB / 0.8491 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.612, allocations: 7.938 kB / 0.8491 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.6121, allocations: 15.92 kB / 0.8491 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.6122, allocations: 4 kB / 0.8491 GB, free: 2.656 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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 9.159e-05/0.6123, allocations: 188.7 kB / 0.8493 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.6123, allocations: 23.72 kB / 0.8493 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/0.6127, allocations: 167.6 kB / 0.8495 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.6127, allocations: 3.938 kB / 0.8495 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.6127, allocations: 4 kB / 0.8495 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6127, allocations: 3.984 kB / 0.8495 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008099/0.6135, allocations: 0.5821 MB / 0.85 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.6135, allocations: 0 / 0.85 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.6136, allocations: 23.92 kB / 0.8501 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.6136, allocations: 4 kB / 0.8501 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.6137, allocations: 4 kB / 0.8501 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.6137, allocations: 224 / 0.8501 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.6137, allocations: 8 kB / 0.8501 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.614, allocations: 305.1 kB / 0.8504 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.927e-05/0.6141, allocations: 112.8 kB / 0.8505 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.6142, allocations: 3.984 kB / 0.8505 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.6143, allocations: 15.98 kB / 0.8505 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.6144, allocations: 15.88 kB / 0.8505 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.6144, allocations: 8 kB / 0.8505 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001582/0.6146, allocations: 201.9 kB / 0.8507 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6146, allocations: 0 / 0.8507 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000413/0.615, allocations: 95.84 kB / 0.8508 GB, free: 0.7617 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 (10): * Single equations (assignments): 10 * 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.0003144/0.6153, allocations: 163.3 kB / 0.851 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004243/0.6158, allocations: 171.7 kB / 0.8511 GB, free: 448 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6158, allocations: 192 / 0.8511 GB, free: 448 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.6159, allocations: 63.89 kB / 0.8512 GB, free: 384 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006394/0.6166, allocations: 121.4 kB / 0.8513 GB, free: 272 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006209/0.6172, allocations: 437.4 kB / 0.8517 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.6175, allocations: 0.7558 MB / 0.8525 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001738/0.6177, allocations: 70.53 kB / 0.8525 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.6177, allocations: 27.44 kB / 0.8526 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.6177, allocations: 0 / 0.8526 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of Templates: time 0.007552/0.6253, allocations: 4.38 MB / 0.8568 GB, free: 10.61 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)