Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0009751/0.0009751, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001232/0.001233, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9339/0.9339, allocations: 135.3 MB / 426.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003215, allocations: 11.94 kB / 0.507 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1497, allocations: 82.31 MB / 0.5874 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4394/0.5892, allocations: 146.7 MB / 0.7307 GB, free: 3.395 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003011/0.5922, allocations: 1.644 MB / 0.7323 GB, free: 2.246 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002851/0.5925, allocations: 8.281 kB / 0.7323 GB, free: 2.242 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004658/0.593, allocations: 113.5 kB / 0.7324 GB, free: 2.176 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.5941, allocations: 394.3 kB / 0.7328 GB, free: 1.965 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.5951, allocations: 337.4 kB / 0.7331 GB, free: 1.809 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00318/0.5983, allocations: 2.983 MB / 0.736 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.5997, allocations: 0.6875 MB / 0.7367 GB, free: 456 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001855/0.6016, allocations: 0.8609 MB / 0.7375 GB, free: 120 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000925/0.6025, allocations: 0.7065 MB / 0.7382 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.883e-05/0.6026, allocations: 33.84 kB / 0.7382 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.6037, allocations: 0.5551 MB / 0.7388 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.604, allocations: 283.7 kB / 0.739 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.6042, allocations: 229.5 kB / 0.7393 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.6053, allocations: 1.016 MB / 0.7403 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.6053, allocations: 3.938 kB / 0.7403 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.565e-06/0.6053, allocations: 0 / 0.7403 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.6053, allocations: 0 / 0.7403 GB, free: 15.07 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.001902/0.6072, allocations: 1.305 MB / 0.7415 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.6073, allocations: 9.188 kB / 0.7415 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006587/0.6079, allocations: 188.1 kB / 0.7417 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.6092, allocations: 0.7965 MB / 0.7425 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.6092, allocations: 49.36 kB / 0.7426 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.52e-05/0.6093, allocations: 59.41 kB / 0.7426 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.6104, allocations: 0.7924 MB / 0.7434 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.6104, allocations: 3.938 kB / 0.7434 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.926e-05/0.6104, allocations: 23.81 kB / 0.7434 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.6105, allocations: 16.05 kB / 0.7434 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008176/0.6113, allocations: 0.5491 MB / 0.744 GB, free: 12.49 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.003783/0.6151, allocations: 4.6 MB / 0.7485 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006822/0.6158, allocations: 426.2 kB / 0.7489 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/0.6161, allocations: 254.4 kB / 0.7491 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002978/0.6164, allocations: 198.2 kB / 0.7493 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000472/0.6169, allocations: 294.7 kB / 0.7496 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.326e-06/0.6169, allocations: 0 / 0.7496 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001253/0.6182, allocations: 0.6509 MB / 0.7502 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.6183, allocations: 85.05 kB / 0.7503 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.6196, allocations: 1.106 MB / 0.7514 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.6197, allocations: 45.69 kB / 0.7514 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004111/0.6201, allocations: 497.1 kB / 0.7519 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.461e-05/0.6202, allocations: 106.5 kB / 0.752 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.6202, allocations: 4 kB / 0.752 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.6203, allocations: 330 kB / 0.7523 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.6207, allocations: 184.7 kB / 0.7525 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005591/0.6212, allocations: 0.4979 MB / 0.753 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004214/0.6217, allocations: 292 kB / 0.7532 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6217, allocations: 0 / 0.7532 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001046/0.6227, allocations: 0.6732 MB / 0.7539 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000215/0.623, allocations: 279.8 kB / 0.7542 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.623, allocations: 8.172 kB / 0.7542 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.623, allocations: 11.98 kB / 0.7542 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.6234, allocations: 115.8 kB / 0.7543 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/0.6235, allocations: 12.77 kB / 0.7543 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006747/0.6241, allocations: 107.3 kB / 0.7544 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/0.6242, allocations: 27.98 kB / 0.7544 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/0.6242, allocations: 4 kB / 0.7544 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008842/0.6251, allocations: 0.5442 MB / 0.755 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.6251, allocations: 4 kB / 0.755 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.6251, allocations: 8.625 kB / 0.755 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.6255, allocations: 111.8 kB / 0.7551 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.6255, allocations: 11.94 kB / 0.7551 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005431/0.6261, allocations: 95.61 kB / 0.7552 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.6261, allocations: 20 kB / 0.7552 GB, free: 388 kB / 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005457/0.6267, allocations: 476.7 kB / 0.7557 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.6268, allocations: 98.78 kB / 0.7558 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008425/0.6276, allocations: 0.4958 MB / 0.7562 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.6276, allocations: 4 kB / 0.7563 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.6277, allocations: 3.984 kB / 0.7563 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.6277, allocations: 4.375 kB / 0.7563 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.6296, allocations: 1.396 MB / 0.7576 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6296, allocations: 4 kB / 0.7576 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.6299, allocations: 63.89 kB / 0.7577 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.6299, allocations: 4 kB / 0.7577 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.6299, allocations: 19.92 kB / 0.7577 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.6299, allocations: 8.219 kB / 0.7577 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.63, allocations: 11.92 kB / 0.7577 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007859/0.6307, allocations: 0.6106 MB / 0.7583 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002858/0.631, allocations: 215.8 kB / 0.7585 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.6311, allocations: 11.98 kB / 0.7585 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/0.6316, allocations: 59.75 kB / 0.7586 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.6317, allocations: 35.89 kB / 0.7586 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.6317, allocations: 16 kB / 0.7587 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009663/0.6327, allocations: 0.7836 MB / 0.7594 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6327, allocations: 0 / 0.7594 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001043/0.6337, allocations: 407.4 kB / 0.7598 GB, free: 11.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003988/0.6341, allocations: 175.9 kB / 0.76 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001251/0.6354, allocations: 0.8019 MB / 0.7608 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6354, allocations: 0 / 0.7608 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003478/0.6358, allocations: 208.8 kB / 0.761 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/0.6376, allocations: 460.6 kB / 0.7614 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.6401, allocations: 1.955 MB / 0.7633 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006978/0.6409, allocations: 1.181 MB / 0.7645 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001009/0.6419, allocations: 431.5 kB / 0.7649 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.642, allocations: 71.44 kB / 0.7649 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of SimCode: time 3.9e-07/0.642, allocations: 0 / 0.7649 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of Templates: time 0.02755/0.6696, allocations: 15.99 MB / 0.7806 GB, free: 6.398 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)