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.001031/0.001031, allocations: 104.1 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.001014/0.001014, allocations: 190.5 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002057/0.002057, allocations: 279 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9404/0.9404, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 102.5 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1652, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop): time 0.4278/0.593, allocations: 161.5 MB / 0.8393 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002813/0.5959, allocations: 1.709 MB / 0.841 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002346/0.5961, allocations: 15.88 kB / 0.841 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005192/0.5967, allocations: 158.9 kB / 0.8411 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.5978, allocations: 0.5108 MB / 0.8416 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009463/0.5987, allocations: 424.3 kB / 0.842 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007039/0.5994, allocations: 0.5731 MB / 0.8426 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.5997, allocations: 176.5 kB / 0.8428 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005284/0.6003, allocations: 322.7 kB / 0.8431 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.6005, allocations: 147.4 kB / 0.8432 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.6005, allocations: 15.94 kB / 0.8432 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009724/0.6015, allocations: 0.6976 MB / 0.8439 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.34e-05/0.6016, allocations: 75.8 kB / 0.844 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.6017, allocations: 115.4 kB / 0.8441 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006377/0.6024, allocations: 0.4974 MB / 0.8446 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6024, allocations: 4 kB / 0.8446 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6024, allocations: 4 kB / 0.8446 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.6024, allocations: 0 / 0.8446 GB, free: 7.547 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.0007666/0.6032, allocations: 0.5844 MB / 0.8452 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.6032, allocations: 12.03 kB / 0.8452 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003234/0.6035, allocations: 55.67 kB / 0.8452 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.604, allocations: 305.3 kB / 0.8455 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.604, allocations: 12.56 kB / 0.8455 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.6041, allocations: 12 kB / 0.8455 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.6044, allocations: 192.6 kB / 0.8457 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.6044, allocations: 4 kB / 0.8457 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.6045, allocations: 8 kB / 0.8457 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.6045, allocations: 0 / 0.8457 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.6048, allocations: 131.8 kB / 0.8459 GB, free: 6.145 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.0009902/0.6058, allocations: 0.7858 MB / 0.8466 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.606, allocations: 86.47 kB / 0.8467 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.6062, allocations: 72.88 kB / 0.8468 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002679/0.6065, allocations: 186.2 kB / 0.847 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.6065, allocations: 38.56 kB / 0.847 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.6065, allocations: 0 / 0.847 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006234/0.6071, allocations: 217.5 kB / 0.8472 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.6072, allocations: 51.5 kB / 0.8473 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.6074, allocations: 275 kB / 0.8475 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.6075, allocations: 29.7 kB / 0.8475 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.964e-05/0.6076, allocations: 147.9 kB / 0.8477 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.6076, allocations: 31.55 kB / 0.8477 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/0.6077, allocations: 33.7 kB / 0.8477 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.6078, allocations: 330.8 kB / 0.8481 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.6079, allocations: 56.81 kB / 0.8481 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.6081, allocations: 85.11 kB / 0.8482 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.6083, allocations: 123.3 kB / 0.8483 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6083, allocations: 0 / 0.8483 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003147/0.6086, allocations: 153.9 kB / 0.8485 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.6087, allocations: 4 kB / 0.8485 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.6087, allocations: 4 kB / 0.8485 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.6087, allocations: 7.922 kB / 0.8485 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.6088, allocations: 31.95 kB / 0.8485 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.6088, allocations: 7.938 kB / 0.8485 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.609, allocations: 19.95 kB / 0.8485 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.609, allocations: 4 kB / 0.8485 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001828/0.6092, allocations: 144.1 kB / 0.8487 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001498/0.6094, allocations: 97.09 kB / 0.8488 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002225/0.6096, allocations: 119.4 kB / 0.8489 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.535e-06/0.6096, allocations: 4 kB / 0.8489 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003094/0.61, allocations: 153.2 kB / 0.849 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/0.61, allocations: 12.03 kB / 0.849 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-06/0.61, allocations: 0 / 0.849 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-06/0.61, allocations: 0 / 0.849 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.6101, allocations: 19.98 kB / 0.8491 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.6101, allocations: 7.938 kB / 0.8491 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.6103, allocations: 19.92 kB / 0.8491 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.6103, allocations: 4 kB / 0.8491 GB, free: 2.582 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 0.0001076/0.6104, allocations: 193.1 kB / 0.8493 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.6105, allocations: 27.72 kB / 0.8493 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003725/0.6108, allocations: 159.3 kB / 0.8495 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.6109, allocations: 3.938 kB / 0.8495 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.6109, allocations: 7.938 kB / 0.8495 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6109, allocations: 0 / 0.8495 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008455/0.6117, allocations: 0.586 MB / 0.85 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.6117, allocations: 0 / 0.85 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.6118, allocations: 19.98 kB / 0.8501 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.6119, allocations: 8.219 kB / 0.8501 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.6119, allocations: 7.984 kB / 0.8501 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.6119, allocations: 3.938 kB / 0.8501 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6119, allocations: 4 kB / 0.8501 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.6123, allocations: 297.1 kB / 0.8504 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.6124, allocations: 120.7 kB / 0.8505 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.6124, allocations: 0 / 0.8505 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.6126, allocations: 11.98 kB / 0.8505 GB, free: 1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.6127, allocations: 27.86 kB / 0.8505 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.6127, allocations: 4 kB / 0.8505 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001798/0.6129, allocations: 194 kB / 0.8507 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6129, allocations: 3.938 kB / 0.8507 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000445/0.6133, allocations: 95.83 kB / 0.8508 GB, free: 0.6836 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.0003588/0.6137, allocations: 165.8 kB / 0.851 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004409/0.6141, allocations: 171.7 kB / 0.8511 GB, free: 360 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.6142, allocations: 0 / 0.8511 GB, free: 360 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.6143, allocations: 63.89 kB / 0.8512 GB, free: 296 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006749/0.615, allocations: 119.5 kB / 0.8513 GB, free: 188 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006463/0.6156, allocations: 433.4 kB / 0.8517 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.616, allocations: 0.7519 MB / 0.8524 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001817/0.6161, allocations: 78.5 kB / 0.8525 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.6162, allocations: 19.44 kB / 0.8525 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.6162, allocations: 7.938 kB / 0.8525 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of Templates: time 0.008233/0.6244, allocations: 4.363 MB / 0.8568 GB, free: 10.54 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)