Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008766/0.0008767, allocations: 91.11 kB / 16.67 MB, free: 6.586 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.0009168/0.0009173, allocations: 180.1 kB / 17.58 MB, free: 6.184 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: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7122/0.7122, allocations: 115.5 MB / 408.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003352, allocations: 12 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.409, allocations: 77.52 MB / 0.5606 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1754/0.5844, allocations: 157.3 MB / 0.7142 GB, free: 5.602 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0033/0.5878, allocations: 1.745 MB / 0.7159 GB, free: 3.852 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004581/0.5883, allocations: 11.94 kB / 0.7159 GB, free: 3.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006437/0.5889, allocations: 131.2 kB / 0.716 GB, free: 3.711 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.5905, allocations: 0.4902 MB / 0.7165 GB, free: 3.219 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.5917, allocations: 354.4 kB / 0.7168 GB, free: 2.875 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00378/0.5955, allocations: 3.478 MB / 0.7202 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.5968, allocations: 0.7504 MB / 0.721 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.5988, allocations: 0.8947 MB / 0.7218 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.6002, allocations: 0.7155 MB / 0.7225 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000204/0.6004, allocations: 32 kB / 0.7226 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/0.6023, allocations: 0.799 MB / 0.7234 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000507/0.6028, allocations: 290.8 kB / 0.7236 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.6039, allocations: 0.5184 MB / 0.7241 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.6054, allocations: 1.017 MB / 0.7251 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6054, allocations: 4 kB / 0.7251 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.274e-06/0.6054, allocations: 0 / 0.7251 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.178e-05/0.6055, allocations: 0 / 0.7251 GB, free: 10.34 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002634/0.6081, allocations: 1.26 MB / 0.7264 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.6081, allocations: 15.97 kB / 0.7264 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009434/0.6091, allocations: 182.5 kB / 0.7266 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.6106, allocations: 0.7982 MB / 0.7273 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.508e-05/0.6106, allocations: 49 kB / 0.7274 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.6108, allocations: 56 kB / 0.7274 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.6121, allocations: 0.8042 MB / 0.7282 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.6121, allocations: 0 / 0.7282 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.505e-05/0.6122, allocations: 28 kB / 0.7282 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.6122, allocations: 12 kB / 0.7283 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009801/0.6132, allocations: 0.5383 MB / 0.7288 GB, free: 6.406 MB / 0.5606 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.004709/0.6179, allocations: 4.606 MB / 0.7333 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007668/0.6187, allocations: 426.2 kB / 0.7337 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/0.6191, allocations: 256.7 kB / 0.7339 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003134/0.6195, allocations: 194.2 kB / 0.7341 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005048/0.62, allocations: 293.3 kB / 0.7344 GB, free: 212 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 4.027e-06/0.62, allocations: 3.938 kB / 0.7344 GB, free: 208 kB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001523/0.6215, allocations: 0.651 MB / 0.735 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.6216, allocations: 85.05 kB / 0.7351 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.6232, allocations: 1.114 MB / 0.7362 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.113e-05/0.6233, allocations: 33.7 kB / 0.7362 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004553/0.6238, allocations: 0.4883 MB / 0.7367 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.6239, allocations: 110.5 kB / 0.7368 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-05/0.624, allocations: 37.7 kB / 0.7369 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6241, allocations: 341.8 kB / 0.7372 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.6245, allocations: 208.7 kB / 0.7374 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006483/0.6252, allocations: 0.5268 MB / 0.7379 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009554/0.6261, allocations: 0.6525 MB / 0.7385 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.6262, allocations: 0 / 0.7385 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0014/0.6276, allocations: 0.7279 MB / 0.7392 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002036/0.6278, allocations: 271.1 kB / 0.7395 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/0.6278, allocations: 15.98 kB / 0.7395 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/0.6279, allocations: 11.94 kB / 0.7395 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.6283, allocations: 107.8 kB / 0.7396 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/0.6283, allocations: 11.98 kB / 0.7396 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008269/0.6292, allocations: 95.44 kB / 0.7397 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.546e-05/0.6292, allocations: 24 kB / 0.7398 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.6293, allocations: 4 kB / 0.7398 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009581/0.6302, allocations: 0.5437 MB / 0.7403 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.6302, allocations: 8.656 kB / 0.7403 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.6303, allocations: 12 kB / 0.7403 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.6306, allocations: 103.8 kB / 0.7404 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.413e-05/0.6307, allocations: 11.98 kB / 0.7404 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007755/0.6314, allocations: 91.56 kB / 0.7405 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.6315, allocations: 20 kB / 0.7405 GB, free: 9.539 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * 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.0006124/0.6321, allocations: 471.1 kB / 0.741 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.6323, allocations: 102.8 kB / 0.7411 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009799/0.6333, allocations: 0.4951 MB / 0.7416 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.6333, allocations: 4 kB / 0.7416 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.6334, allocations: 0 / 0.7416 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.6334, allocations: 7.984 kB / 0.7416 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.6356, allocations: 1.392 MB / 0.7429 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.6357, allocations: 4 kB / 0.7429 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.6359, allocations: 63.89 kB / 0.743 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.659e-06/0.6359, allocations: 7.938 kB / 0.743 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.636, allocations: 12.2 kB / 0.743 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.636, allocations: 8 kB / 0.743 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.636, allocations: 7.938 kB / 0.743 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008919/0.6369, allocations: 0.6023 MB / 0.7436 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/0.6372, allocations: 215.8 kB / 0.7438 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.6374, allocations: 11.98 kB / 0.7438 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004958/0.6379, allocations: 59.73 kB / 0.7439 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.762e-05/0.638, allocations: 27.97 kB / 0.7439 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.638, allocations: 12 kB / 0.7439 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001095/0.6391, allocations: 0.7953 MB / 0.7447 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6391, allocations: 0 / 0.7447 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001243/0.6404, allocations: 403.4 kB / 0.7451 GB, free: 4.707 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: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004866/0.6409, allocations: 180 kB / 0.7453 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001514/0.6424, allocations: 0.8394 MB / 0.7461 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6424, allocations: 4 kB / 0.7461 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000388/0.6428, allocations: 201.7 kB / 0.7463 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/0.6453, allocations: 463.1 kB / 0.7467 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00334/0.6487, allocations: 2.091 MB / 0.7488 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.277/0.9257, allocations: 1.175 MB / 0.7499 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/0.9261, allocations: 80.52 kB / 0.75 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.9261, allocations: 0 / 0.75 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.03273/0.9589, allocations: 15.75 MB / 0.7654 GB, free: 169.6 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)