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.001314/0.001314, allocations: 104.8 kB / 16.41 MB, free: 6.41 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.001352/0.001352, allocations: 189.5 kB / 17.34 MB, free: 5.699 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002084, allocations: 289.2 kB / 291.5 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.941/0.941, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 99.86 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.4599, allocations: 86.97 MB / 0.767 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop): time 0.1677/0.6276, allocations: 161.5 MB / 0.9248 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.003062/0.6307, allocations: 1.699 MB / 0.9264 GB, free: 224 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004798/0.6313, allocations: 19.81 kB / 0.9264 GB, free: 204 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006619/0.632, allocations: 155 kB / 0.9266 GB, free: 48 kB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.6336, allocations: 0.5095 MB / 0.9271 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.6348, allocations: 436.3 kB / 0.9275 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0009685/0.6358, allocations: 0.5654 MB / 0.9281 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004223/0.6363, allocations: 176.5 kB / 0.9282 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000799/0.6371, allocations: 326.7 kB / 0.9285 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.6374, allocations: 151.2 kB / 0.9287 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.6374, allocations: 20 kB / 0.9287 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.6387, allocations: 0.6898 MB / 0.9294 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.6388, allocations: 79.78 kB / 0.9294 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.639, allocations: 115.4 kB / 0.9296 GB, free: 13 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0009976/0.64, allocations: 0.4972 MB / 0.93 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.64, allocations: 4 kB / 0.93 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.633e-06/0.64, allocations: 0 / 0.93 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.64, allocations: 0 / 0.93 GB, free: 12.5 MB / 0.7012 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.00103/0.6411, allocations: 0.5838 MB / 0.9306 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.6411, allocations: 16.03 kB / 0.9306 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004183/0.6415, allocations: 59.58 kB / 0.9307 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000555/0.6421, allocations: 301.3 kB / 0.931 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.6421, allocations: 12 kB / 0.931 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.6422, allocations: 16 kB / 0.931 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.6426, allocations: 184.7 kB / 0.9312 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.6426, allocations: 0 / 0.9312 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.6426, allocations: 8 kB / 0.9312 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.6426, allocations: 0 / 0.9312 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.643, allocations: 135.8 kB / 0.9313 GB, free: 11.1 MB / 0.7012 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.001166/0.6441, allocations: 0.7808 MB / 0.9321 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.6444, allocations: 86.53 kB / 0.9322 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.6446, allocations: 72.88 kB / 0.9322 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002969/0.6449, allocations: 186.2 kB / 0.9324 GB, free: 9.859 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.6449, allocations: 42.56 kB / 0.9324 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.6449, allocations: 0 / 0.9324 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0007017/0.6456, allocations: 213.5 kB / 0.9326 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.6457, allocations: 51.5 kB / 0.9327 GB, free: 9.531 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.646, allocations: 275 kB / 0.933 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.646, allocations: 33.64 kB / 0.933 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.6461, allocations: 148 kB / 0.9331 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.6462, allocations: 35.45 kB / 0.9332 GB, free: 9.035 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-05/0.6462, allocations: 33.7 kB / 0.9332 GB, free: 8.996 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.6464, allocations: 330.8 kB / 0.9335 GB, free: 8.664 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.6465, allocations: 44.83 kB / 0.9336 GB, free: 8.617 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.6467, allocations: 93.11 kB / 0.9336 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.6469, allocations: 119.3 kB / 0.9338 GB, free: 8.379 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.647, allocations: 0 / 0.9338 GB, free: 8.379 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003653/0.6473, allocations: 161.3 kB / 0.9339 GB, free: 8.215 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.6474, allocations: 7.938 kB / 0.9339 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.6474, allocations: 4 kB / 0.9339 GB, free: 8.203 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.6474, allocations: 3.938 kB / 0.9339 GB, free: 8.199 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.6475, allocations: 27.92 kB / 0.934 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.6475, allocations: 4 kB / 0.934 GB, free: 8.168 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.6477, allocations: 15.92 kB / 0.934 GB, free: 8.152 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.6478, allocations: 4 kB / 0.934 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001937/0.648, allocations: 152.1 kB / 0.9341 GB, free: 7.996 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001416/0.6481, allocations: 89.11 kB / 0.9342 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002249/0.6483, allocations: 123.4 kB / 0.9343 GB, free: 7.758 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.136e-06/0.6484, allocations: 4 kB / 0.9343 GB, free: 7.754 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003026/0.6487, allocations: 153.2 kB / 0.9345 GB, free: 7.598 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.6487, allocations: 10.81 kB / 0.9345 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.6487, allocations: 0 / 0.9345 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-06/0.6487, allocations: 0 / 0.9345 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.6488, allocations: 23.92 kB / 0.9345 GB, free: 7.566 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.6488, allocations: 4 kB / 0.9345 GB, free: 7.562 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.649, allocations: 32.03 kB / 0.9345 GB, free: 7.531 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.649, allocations: 4 kB / 0.9345 GB, free: 7.527 MB / 0.7012 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.0001129/0.6491, allocations: 189.1 kB / 0.9347 GB, free: 7.336 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.6492, allocations: 23.72 kB / 0.9348 GB, free: 7.312 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003615/0.6496, allocations: 167.2 kB / 0.9349 GB, free: 7.137 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.6496, allocations: 4 kB / 0.9349 GB, free: 7.133 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6496, allocations: 0 / 0.9349 GB, free: 7.133 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6496, allocations: 4 kB / 0.9349 GB, free: 7.129 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008752/0.6505, allocations: 0.5821 MB / 0.9355 GB, free: 6.469 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.6505, allocations: 3.984 kB / 0.9355 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.6506, allocations: 19.98 kB / 0.9355 GB, free: 6.445 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.6506, allocations: 4 kB / 0.9355 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.6506, allocations: 7.938 kB / 0.9355 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.6506, allocations: 3.984 kB / 0.9355 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.6507, allocations: 4 kB / 0.9355 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/0.651, allocations: 297.3 kB / 0.9358 GB, free: 6.098 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.6512, allocations: 124.7 kB / 0.9359 GB, free: 5.957 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.6512, allocations: 0 / 0.9359 GB, free: 5.957 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.6514, allocations: 15.92 kB / 0.9359 GB, free: 5.941 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.6515, allocations: 23.86 kB / 0.936 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.6515, allocations: 4.188 kB / 0.936 GB, free: 5.914 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001855/0.6517, allocations: 198 kB / 0.9362 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6517, allocations: 0 / 0.9362 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004785/0.6522, allocations: 95.83 kB / 0.9363 GB, free: 5.633 MB / 0.7012 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.0003976/0.6526, allocations: 166.2 kB / 0.9364 GB, free: 5.473 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004458/0.653, allocations: 167.7 kB / 0.9366 GB, free: 5.309 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.653, allocations: 4.125 kB / 0.9366 GB, free: 5.305 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.6532, allocations: 63.89 kB / 0.9366 GB, free: 5.242 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000675/0.6539, allocations: 114.5 kB / 0.9367 GB, free: 5.133 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007294/0.6546, allocations: 462.7 kB / 0.9372 GB, free: 4.629 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.6549, allocations: 0.7674 MB / 0.9379 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.698e-05/0.655, allocations: 19.44 kB / 0.938 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of SimCode: time 4.31e-07/0.655, allocations: 0 / 0.938 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of Templates: time 0.00639/0.6614, allocations: 3.738 MB / 0.9416 GB, free: 124 kB / 0.7012 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)