Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001003, allocations: 98.66 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 182.6 kB / 16.92 MB, free: 6.754 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.409/1.409, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7305/0.7305, allocations: 115.5 MB / 407.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003464, allocations: 8.234 kB / 495.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1848, allocations: 77.53 MB / 0.5599 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.488/0.6728, allocations: 157.3 MB / 0.7135 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004879/0.6778, allocations: 3.599 MB / 0.717 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003487/0.6781, allocations: 15.88 kB / 0.717 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005255/0.6787, allocations: 127.2 kB / 0.7172 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.68, allocations: 0.5019 MB / 0.7177 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.6811, allocations: 385.7 kB / 0.718 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00353/0.6846, allocations: 3.518 MB / 0.7215 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002677/0.6873, allocations: 2.221 MB / 0.7236 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/0.689, allocations: 0.9024 MB / 0.7245 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008784/0.6899, allocations: 0.7272 MB / 0.7252 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.69, allocations: 32 kB / 0.7253 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.6914, allocations: 0.7951 MB / 0.726 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002967/0.6917, allocations: 282.9 kB / 0.7263 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006377/0.6924, allocations: 0.53 MB / 0.7268 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.694, allocations: 1.39 MB / 0.7282 GB, free: 10.53 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.694, allocations: 0 / 0.7282 GB, free: 10.53 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.694, allocations: 0 / 0.7282 GB, free: 10.53 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.694, allocations: 0 / 0.7282 GB, free: 10.53 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002057/0.6961, allocations: 1.296 MB / 0.7294 GB, free: 9.176 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.6961, allocations: 8.031 kB / 0.7294 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007371/0.6969, allocations: 194.4 kB / 0.7296 GB, free: 8.977 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.698, allocations: 0.8061 MB / 0.7304 GB, free: 8.113 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.6981, allocations: 45 kB / 0.7305 GB, free: 8.066 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.6982, allocations: 56 kB / 0.7305 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.6995, allocations: 0.8316 MB / 0.7313 GB, free: 7.109 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.6995, allocations: 3.938 kB / 0.7313 GB, free: 7.105 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.896e-05/0.6996, allocations: 24 kB / 0.7314 GB, free: 7.082 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.6996, allocations: 12 kB / 0.7314 GB, free: 7.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009867/0.7006, allocations: 0.5773 MB / 0.7319 GB, free: 6.488 MB / 0.545 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.003981/0.7046, allocations: 4.255 MB / 0.7361 GB, free: 1.969 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000732/0.7053, allocations: 447.9 kB / 0.7365 GB, free: 1.523 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004917/0.7058, allocations: 344 kB / 0.7368 GB, free: 1.188 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003209/0.7061, allocations: 198.2 kB / 0.737 GB, free: 0.957 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005186/0.7067, allocations: 327.1 kB / 0.7373 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002297/0.7069, allocations: 31.62 kB / 0.7374 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.953e-06/0.7069, allocations: 0 / 0.7374 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.00147/0.7084, allocations: 0.7193 MB / 0.7381 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.7085, allocations: 89.03 kB / 0.7382 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.71, allocations: 1.151 MB / 0.7393 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.715e-05/0.7101, allocations: 37.7 kB / 0.7393 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004503/0.7105, allocations: 488.3 kB / 0.7398 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.7107, allocations: 110.5 kB / 0.7399 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.242e-05/0.7107, allocations: 53.69 kB / 0.7399 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.7109, allocations: 325.9 kB / 0.7403 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.7113, allocations: 236.9 kB / 0.7405 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/0.712, allocations: 0.5423 MB / 0.741 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009333/0.7129, allocations: 0.692 MB / 0.7417 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.713, allocations: 0 / 0.7417 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001365/0.7143, allocations: 0.7787 MB / 0.7424 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002167/0.7146, allocations: 275.4 kB / 0.7427 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.7146, allocations: 7.984 kB / 0.7427 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.7146, allocations: 11.94 kB / 0.7427 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006176/0.7152, allocations: 127.8 kB / 0.7428 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-05/0.7153, allocations: 12.48 kB / 0.7429 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.7165, allocations: 91.8 kB / 0.7429 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/0.7166, allocations: 24 kB / 0.743 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.7166, allocations: 4 kB / 0.743 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001592/0.7182, allocations: 0.5757 MB / 0.7435 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.7182, allocations: 4 kB / 0.7435 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.7183, allocations: 16.02 kB / 0.7436 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006564/0.7189, allocations: 107.8 kB / 0.7437 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.187e-05/0.719, allocations: 19.91 kB / 0.7437 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.7204, allocations: 79.83 kB / 0.7438 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.7205, allocations: 20 kB / 0.7438 GB, free: 9.652 MB / 0.5606 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 (55): * Single equations (assignments): 54 * 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.000981/0.7215, allocations: 472.6 kB / 0.7442 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/0.7218, allocations: 110.8 kB / 0.7443 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.7234, allocations: 0.5428 MB / 0.7449 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.7234, allocations: 4 kB / 0.7449 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.7234, allocations: 4 kB / 0.7449 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.7234, allocations: 15.86 kB / 0.7449 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003641/0.7271, allocations: 1.51 MB / 0.7464 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.7271, allocations: 4 kB / 0.7464 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005408/0.7277, allocations: 72.09 kB / 0.7464 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.569e-05/0.7277, allocations: 11.94 kB / 0.7464 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.7277, allocations: 8 kB / 0.7464 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.7278, allocations: 4 kB / 0.7465 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.7278, allocations: 4 kB / 0.7465 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.7296, allocations: 0.6587 MB / 0.7471 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006395/0.7302, allocations: 239.7 kB / 0.7473 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.7305, allocations: 11.98 kB / 0.7473 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.7317, allocations: 55.94 kB / 0.7474 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.7319, allocations: 27.95 kB / 0.7474 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.472e-05/0.7319, allocations: 12 kB / 0.7474 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001924/0.7339, allocations: 0.8199 MB / 0.7482 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7339, allocations: 3.938 kB / 0.7482 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002139/0.736, allocations: 423.4 kB / 0.7486 GB, free: 4.508 MB / 0.5606 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 (33): * Single equations (assignments): 31 * 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.0006845/0.7367, allocations: 183 kB / 0.7488 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00259/0.7393, allocations: 0.921 MB / 0.7497 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.7394, allocations: 0 / 0.7497 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006834/0.7401, allocations: 239.8 kB / 0.7499 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00643/0.7465, allocations: 0.6359 MB / 0.7506 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005396/0.7519, allocations: 2.068 MB / 0.7526 GB, free: 420 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/0.7532, allocations: 1.178 MB / 0.7537 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002484/0.7557, allocations: 420.2 kB / 0.7541 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003535/0.7561, allocations: 75.44 kB / 0.7542 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/0.7561, allocations: 0 / 0.7542 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of Templates: time 0.06424/0.8204, allocations: 19.08 MB / 0.7728 GB, free: 11.88 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)