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.004932/0.004932, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001111/0.001111, allocations: 191.1 kB / 16.67 MB, free: 5.973 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002128/0.002128, allocations: 282.9 kB / 290.8 MB, free: 1.766 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9193/0.9193, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.001731, allocations: 100.3 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1726, allocations: 86.97 MB / 0.7664 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop): time 0.5587/0.7313, allocations: 161.5 MB / 0.9241 GB, free: 1.332 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.003115/0.7345, allocations: 1.711 MB / 0.9258 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004474/0.7349, allocations: 11.94 kB / 0.9258 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006497/0.7356, allocations: 158.9 kB / 0.9259 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.7371, allocations: 0.5134 MB / 0.9264 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.7383, allocations: 419.2 kB / 0.9268 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0009018/0.7392, allocations: 0.5732 MB / 0.9274 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003162/0.7396, allocations: 181.8 kB / 0.9276 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006047/0.7402, allocations: 326.7 kB / 0.9279 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.7404, allocations: 147.3 kB / 0.928 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.7404, allocations: 12 kB / 0.928 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.7415, allocations: 0.6937 MB / 0.9287 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 9.479e-05/0.7416, allocations: 83.72 kB / 0.9288 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.7417, allocations: 115.4 kB / 0.9289 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0006952/0.7424, allocations: 0.5015 MB / 0.9294 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7424, allocations: 0 / 0.9294 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of FrontEnd: time 8.62e-07/0.7425, allocations: 7.938 kB / 0.9294 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.7425, allocations: 0 / 0.9294 GB, free: 11.91 MB / 0.6856 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.0009172/0.7434, allocations: 0.5844 MB / 0.93 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.7434, allocations: 8.031 kB / 0.93 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003417/0.7438, allocations: 59.58 kB / 0.93 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.7442, allocations: 305.3 kB / 0.9303 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.7443, allocations: 11.98 kB / 0.9303 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.7443, allocations: 16 kB / 0.9303 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003747/0.7447, allocations: 196.6 kB / 0.9305 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.7447, allocations: 0 / 0.9305 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.7447, allocations: 4 kB / 0.9305 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.7447, allocations: 4 kB / 0.9305 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.745, allocations: 127.8 kB / 0.9307 GB, free: 10.51 MB / 0.6856 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.00106/0.7461, allocations: 0.7815 MB / 0.9314 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.7464, allocations: 82.47 kB / 0.9315 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.7465, allocations: 76.81 kB / 0.9316 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/0.7468, allocations: 194.2 kB / 0.9318 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.7469, allocations: 34.55 kB / 0.9318 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.7469, allocations: 0 / 0.9318 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.0006757/0.7475, allocations: 225.2 kB / 0.932 GB, free: 8.992 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.7476, allocations: 55.39 kB / 0.9321 GB, free: 8.926 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.7478, allocations: 267 kB / 0.9323 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.7479, allocations: 25.7 kB / 0.9323 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/0.748, allocations: 144 kB / 0.9325 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.748, allocations: 35.45 kB / 0.9325 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.7481, allocations: 33.7 kB / 0.9325 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.7482, allocations: 342.8 kB / 0.9329 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.7484, allocations: 46.33 kB / 0.9329 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.7485, allocations: 89.48 kB / 0.933 GB, free: 7.914 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.7488, allocations: 127.3 kB / 0.9331 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7488, allocations: 0 / 0.9331 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003452/0.7492, allocations: 157.5 kB / 0.9333 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.7492, allocations: 4 kB / 0.9333 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.7492, allocations: 3.938 kB / 0.9333 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.7492, allocations: 7.938 kB / 0.9333 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.7493, allocations: 27.95 kB / 0.9333 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.7494, allocations: 0 / 0.9333 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.7495, allocations: 15.89 kB / 0.9333 GB, free: 7.559 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.7496, allocations: 8 kB / 0.9333 GB, free: 7.551 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001917/0.7498, allocations: 150.3 kB / 0.9335 GB, free: 7.402 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001596/0.7499, allocations: 93.11 kB / 0.9336 GB, free: 7.293 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002496/0.7502, allocations: 123.4 kB / 0.9337 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.7502, allocations: 0 / 0.9337 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003178/0.7505, allocations: 149.3 kB / 0.9338 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.7505, allocations: 8 kB / 0.9338 GB, free: 7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.7506, allocations: 4 kB / 0.9338 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-06/0.7506, allocations: 0 / 0.9338 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.7507, allocations: 23.98 kB / 0.9339 GB, free: 6.973 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.7507, allocations: 3.938 kB / 0.9339 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.7509, allocations: 27.81 kB / 0.9339 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.7509, allocations: 4 kB / 0.9339 GB, free: 6.938 MB / 0.6856 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.0001233/0.751, allocations: 200.4 kB / 0.9341 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.7511, allocations: 19.72 kB / 0.9341 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003835/0.7515, allocations: 159.3 kB / 0.9343 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.7515, allocations: 3.938 kB / 0.9343 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.7515, allocations: 3.938 kB / 0.9343 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7515, allocations: 0 / 0.9343 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009183/0.7524, allocations: 0.586 MB / 0.9348 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.7524, allocations: 4.281 kB / 0.9348 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.7526, allocations: 24.2 kB / 0.9349 GB, free: 5.852 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.7526, allocations: 4 kB / 0.9349 GB, free: 5.848 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.7526, allocations: 7.875 kB / 0.9349 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.7526, allocations: 7.938 kB / 0.9349 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.7526, allocations: 4 kB / 0.9349 GB, free: 5.832 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.753, allocations: 297.1 kB / 0.9352 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.713e-05/0.7531, allocations: 112.8 kB / 0.9353 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.7532, allocations: 4 kB / 0.9353 GB, free: 5.371 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.7534, allocations: 19.98 kB / 0.9353 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.7534, allocations: 15.86 kB / 0.9353 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.7535, allocations: 4 kB / 0.9353 GB, free: 5.332 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001856/0.7536, allocations: 197.9 kB / 0.9355 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7536, allocations: 0 / 0.9355 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006023/0.7543, allocations: 91.84 kB / 0.9356 GB, free: 5.051 MB / 0.6856 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.0004232/0.7547, allocations: 173.7 kB / 0.9358 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005162/0.7552, allocations: 163.7 kB / 0.9359 GB, free: 4.727 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.309e-06/0.7552, allocations: 4 kB / 0.9359 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.7554, allocations: 56.47 kB / 0.936 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007795/0.7562, allocations: 122.7 kB / 0.9361 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007657/0.757, allocations: 437.5 kB / 0.9365 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.7574, allocations: 0.7518 MB / 0.9372 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002371/0.7576, allocations: 74.52 kB / 0.9373 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.978e-05/0.7577, allocations: 27.44 kB / 0.9373 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of SimCode: time 1.593e-06/0.7577, allocations: 3.938 kB / 0.9373 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of Templates: time 0.008947/0.7667, allocations: 4.406 MB / 0.9416 GB, free: 14.87 MB / 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)