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.001425/0.001425, allocations: 111.6 kB / 16.41 MB, free: 6.492 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.001353/0.001353, allocations: 192 kB / 17.34 MB, free: 5.723 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.434/1.434, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002634/0.002634, allocations: 302.3 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.012/1.012, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002745, allocations: 95.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4373, allocations: 86.97 MB / 0.767 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop): time 0.1914/0.6287, allocations: 162 MB / 0.9252 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.003076/0.6318, allocations: 1.706 MB / 0.9269 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002296/0.632, allocations: 7.938 kB / 0.9269 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005339/0.6326, allocations: 162.9 kB / 0.927 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.6338, allocations: 0.5406 MB / 0.9276 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.6348, allocations: 434 kB / 0.928 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0007928/0.6356, allocations: 0.5654 MB / 0.9285 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.6359, allocations: 156.5 kB / 0.9287 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005837/0.6365, allocations: 322.8 kB / 0.929 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.6367, allocations: 159.2 kB / 0.9291 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.6368, allocations: 12 kB / 0.9291 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.6379, allocations: 0.6977 MB / 0.9298 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.638, allocations: 87.66 kB / 0.9299 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.6381, allocations: 111.4 kB / 0.93 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0007521/0.6389, allocations: 0.5 MB / 0.9305 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6389, allocations: 3.938 kB / 0.9305 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6389, allocations: 0 / 0.9305 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.6389, allocations: 4 kB / 0.9305 GB, free: 11.88 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.0008624/0.6397, allocations: 0.5911 MB / 0.9311 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.6398, allocations: 8.031 kB / 0.9311 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003306/0.6401, allocations: 63.77 kB / 0.9312 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.6406, allocations: 301.5 kB / 0.9314 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.6406, allocations: 12 kB / 0.9315 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.6406, allocations: 12 kB / 0.9315 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/0.641, allocations: 192.6 kB / 0.9316 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.641, allocations: 0 / 0.9316 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.641, allocations: 7.938 kB / 0.9317 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.641, allocations: 4 kB / 0.9317 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.6413, allocations: 130.3 kB / 0.9318 GB, free: 10.46 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.001093/0.6424, allocations: 0.7887 MB / 0.9326 GB, free: 9.605 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.6427, allocations: 82.47 kB / 0.9326 GB, free: 9.516 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.6428, allocations: 68.88 kB / 0.9327 GB, free: 9.445 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002888/0.6431, allocations: 190.2 kB / 0.9329 GB, free: 9.223 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.6432, allocations: 30.56 kB / 0.9329 GB, free: 9.184 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.6432, allocations: 0 / 0.9329 GB, free: 9.184 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0006808/0.6438, allocations: 229.3 kB / 0.9331 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.6439, allocations: 51.41 kB / 0.9332 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.6442, allocations: 267 kB / 0.9334 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.6442, allocations: 25.7 kB / 0.9335 GB, free: 8.594 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.6443, allocations: 148 kB / 0.9336 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.6444, allocations: 39.73 kB / 0.9336 GB, free: 8.406 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/0.6444, allocations: 33.66 kB / 0.9337 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.6446, allocations: 330.8 kB / 0.934 GB, free: 8.035 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.6447, allocations: 48.81 kB / 0.934 GB, free: 7.984 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.6449, allocations: 101.4 kB / 0.9341 GB, free: 7.867 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.6452, allocations: 123.3 kB / 0.9342 GB, free: 7.734 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6452, allocations: 0 / 0.9342 GB, free: 7.734 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003461/0.6455, allocations: 153.4 kB / 0.9344 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.6455, allocations: 10.69 kB / 0.9344 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.6455, allocations: 3.984 kB / 0.9344 GB, free: 7.566 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.6455, allocations: 7.938 kB / 0.9344 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.6457, allocations: 19.98 kB / 0.9344 GB, free: 7.539 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.6457, allocations: 3.938 kB / 0.9344 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.6459, allocations: 19.92 kB / 0.9345 GB, free: 7.516 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.6459, allocations: 12.06 kB / 0.9345 GB, free: 7.504 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002007/0.6461, allocations: 140.1 kB / 0.9346 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001771/0.6463, allocations: 101.1 kB / 0.9347 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002516/0.6465, allocations: 111.5 kB / 0.9348 GB, free: 7.125 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.6465, allocations: 4 kB / 0.9348 GB, free: 7.121 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003405/0.6469, allocations: 161.4 kB / 0.935 GB, free: 6.957 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 7.555e-06/0.6469, allocations: 4 kB / 0.935 GB, free: 6.953 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.6469, allocations: 4 kB / 0.935 GB, free: 6.949 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-06/0.6469, allocations: 3.938 kB / 0.935 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.647, allocations: 27.86 kB / 0.935 GB, free: 6.918 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.647, allocations: 3.984 kB / 0.935 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.6472, allocations: 23.97 kB / 0.935 GB, free: 6.891 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.6472, allocations: 7.984 kB / 0.935 GB, free: 6.883 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.0001233/0.6473, allocations: 188.8 kB / 0.9352 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.904e-05/0.6473, allocations: 19.86 kB / 0.9352 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.6477, allocations: 167.6 kB / 0.9354 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.6477, allocations: 0 / 0.9354 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6477, allocations: 0 / 0.9354 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.6477, allocations: 4 kB / 0.9354 GB, free: 6.492 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000941/0.6487, allocations: 0.5938 MB / 0.936 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6487, allocations: 7.938 kB / 0.936 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.6488, allocations: 19.98 kB / 0.936 GB, free: 5.793 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.6488, allocations: 7.984 kB / 0.936 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.6488, allocations: 0 / 0.936 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.6488, allocations: 4 kB / 0.936 GB, free: 5.781 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.6488, allocations: 4 kB / 0.936 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004037/0.6492, allocations: 297.4 kB / 0.9363 GB, free: 5.449 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.6494, allocations: 116.9 kB / 0.9364 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.6494, allocations: 4 kB / 0.9364 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.6496, allocations: 15.98 kB / 0.9364 GB, free: 5.297 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.6496, allocations: 11.92 kB / 0.9364 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.6496, allocations: 4 kB / 0.9364 GB, free: 5.281 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001956/0.6498, allocations: 194 kB / 0.9366 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6498, allocations: 4 kB / 0.9366 GB, free: 5.094 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004608/0.6503, allocations: 103.8 kB / 0.9367 GB, free: 4.992 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.0003634/0.6507, allocations: 165.9 kB / 0.9369 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004776/0.6511, allocations: 159.8 kB / 0.937 GB, free: 4.672 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6511, allocations: 0 / 0.937 GB, free: 4.672 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.6513, allocations: 67.95 kB / 0.9371 GB, free: 4.605 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007259/0.652, allocations: 118.8 kB / 0.9372 GB, free: 4.492 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007206/0.6527, allocations: 448.5 kB / 0.9376 GB, free: 4.008 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.6531, allocations: 0.7597 MB / 0.9384 GB, free: 3.223 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002055/0.6533, allocations: 66.53 kB / 0.9385 GB, free: 3.156 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.139e-05/0.6534, allocations: 19.44 kB / 0.9385 GB, free: 3.137 MB / 0.7012 GB Notification: Performance of SimCode: time 3.41e-07/0.6534, allocations: 4 kB / 0.9385 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of Templates: time 0.009301/0.6627, allocations: 4.427 MB / 0.9428 GB, free: 14.79 MB / 0.7169 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)