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.001228/0.001228, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001306/0.001306, allocations: 190.7 kB / 16.25 MB, free: 6.145 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.38/1.38, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002053/0.002053, allocations: 283.1 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.004/1.004, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 95.58 kB / 0.5947 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1645, allocations: 86.98 MB / 0.6796 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop): time 0.5047/0.6692, allocations: 159.3 MB / 0.8352 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00285/0.6721, allocations: 1.7 MB / 0.8368 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004261/0.6726, allocations: 10.06 kB / 0.8368 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005817/0.6732, allocations: 136.7 kB / 0.837 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.6746, allocations: 486.7 kB / 0.8374 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.6757, allocations: 389.8 kB / 0.8378 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007518/0.6765, allocations: 0.5629 MB / 0.8384 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002867/0.6768, allocations: 169.1 kB / 0.8385 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006168/0.6774, allocations: 312 kB / 0.8388 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.6776, allocations: 172.7 kB / 0.839 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.6777, allocations: 13.56 kB / 0.839 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.6789, allocations: 0.7138 MB / 0.8397 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.679, allocations: 75.45 kB / 0.8398 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.6792, allocations: 126.1 kB / 0.8399 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009581/0.6802, allocations: 0.5212 MB / 0.8404 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.6802, allocations: 1.375 kB / 0.8404 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6802, allocations: 0 / 0.8404 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.6802, allocations: 0 / 0.8404 GB, free: 15.09 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001157/0.6814, allocations: 0.5885 MB / 0.841 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.6814, allocations: 8.25 kB / 0.841 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004156/0.6818, allocations: 58.36 kB / 0.841 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.6823, allocations: 294.3 kB / 0.8413 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.6823, allocations: 10.28 kB / 0.8413 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.6824, allocations: 13.88 kB / 0.8413 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004659/0.6829, allocations: 196 kB / 0.8415 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.6829, allocations: 0 / 0.8415 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.6829, allocations: 8.594 kB / 0.8415 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.6829, allocations: 6.5 kB / 0.8415 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.6833, allocations: 127.3 kB / 0.8417 GB, free: 14.29 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.001154/0.6844, allocations: 0.7859 MB / 0.8424 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.6847, allocations: 77.67 kB / 0.8425 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.6848, allocations: 83.83 kB / 0.8426 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003599/0.6852, allocations: 189.9 kB / 0.8428 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.6852, allocations: 35.25 kB / 0.8428 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.6852, allocations: 0 / 0.8428 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.000641/0.6859, allocations: 220.6 kB / 0.843 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.6859, allocations: 56.34 kB / 0.8431 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.6862, allocations: 266 kB / 0.8433 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.6862, allocations: 28.45 kB / 0.8433 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.6864, allocations: 144.1 kB / 0.8435 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.6864, allocations: 31.06 kB / 0.8435 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/0.6865, allocations: 37.47 kB / 0.8435 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.6867, allocations: 333.8 kB / 0.8439 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.6868, allocations: 47.47 kB / 0.8439 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.687, allocations: 92.98 kB / 0.844 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.6873, allocations: 122.4 kB / 0.8441 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6873, allocations: 2.062 kB / 0.8441 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003536/0.6876, allocations: 156 kB / 0.8443 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.6877, allocations: 4.938 kB / 0.8443 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.6877, allocations: 5.406 kB / 0.8443 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.6877, allocations: 5.562 kB / 0.8443 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.6879, allocations: 26.28 kB / 0.8443 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.6879, allocations: 4.969 kB / 0.8443 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.6881, allocations: 26.98 kB / 0.8443 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.6881, allocations: 5.5 kB / 0.8443 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001922/0.6883, allocations: 149.9 kB / 0.8445 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001468/0.6885, allocations: 92.11 kB / 0.8446 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002301/0.6887, allocations: 118.4 kB / 0.8447 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.12e-07/0.6887, allocations: 0 / 0.8447 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003136/0.689, allocations: 153.5 kB / 0.8448 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/0.6891, allocations: 5.156 kB / 0.8448 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.6891, allocations: 1.625 kB / 0.8448 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-06/0.6891, allocations: 0 / 0.8448 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.6892, allocations: 28.67 kB / 0.8449 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.6892, allocations: 4.875 kB / 0.8449 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.6894, allocations: 25.5 kB / 0.8449 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.6894, allocations: 5.125 kB / 0.8449 GB, free: 12.31 MB / 0.5762 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.0001072/0.6895, allocations: 187.1 kB / 0.8451 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.6896, allocations: 23.72 kB / 0.8451 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.6899, allocations: 159.7 kB / 0.8453 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.6899, allocations: 3.938 kB / 0.8453 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.69, allocations: 4 kB / 0.8453 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.69, allocations: 8.797 kB / 0.8453 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008704/0.6908, allocations: 0.5932 MB / 0.8459 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.6909, allocations: 2.5 kB / 0.8459 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.691, allocations: 20.52 kB / 0.8459 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.691, allocations: 2.688 kB / 0.8459 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.691, allocations: 3.844 kB / 0.8459 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.691, allocations: 1.844 kB / 0.8459 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.691, allocations: 3.188 kB / 0.8459 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.6914, allocations: 309 kB / 0.8462 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.867e-05/0.6915, allocations: 111.1 kB / 0.8463 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.6915, allocations: 5.469 kB / 0.8463 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.6917, allocations: 15.77 kB / 0.8463 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.6918, allocations: 17.55 kB / 0.8463 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.6918, allocations: 5 kB / 0.8463 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001765/0.692, allocations: 206.1 kB / 0.8465 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.692, allocations: 0 / 0.8465 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000472/0.6925, allocations: 92.22 kB / 0.8466 GB, free: 10.91 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 (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.0003837/0.6929, allocations: 166.3 kB / 0.8468 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004337/0.6933, allocations: 166.5 kB / 0.8469 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6933, allocations: 4.062 kB / 0.8469 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.6935, allocations: 66.36 kB / 0.847 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000689/0.6942, allocations: 120.1 kB / 0.8471 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007522/0.6949, allocations: 0.4923 MB / 0.8476 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.6953, allocations: 0.7574 MB / 0.8483 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002445/0.6955, allocations: 70.67 kB / 0.8484 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.6956, allocations: 20.56 kB / 0.8484 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of SimCode: time 3.6e-07/0.6956, allocations: 0 / 0.8484 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of Templates: time 0.008602/0.7042, allocations: 4.31 MB / 0.8526 GB, free: 7.355 MB / 0.5762 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)