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: "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008831/0.0008832, allocations: 92.95 kB / 16.02 MB, free: 84 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.001096/0.001096, allocations: 184 kB / 16.92 MB, free: 6.934 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.342/1.342, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6948/0.6948, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002972/0.0002971, allocations: 12 kB / 496 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 77.53 MB / 0.56 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.3783/0.5033, allocations: 157.3 MB / 0.7136 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00297/0.5064, allocations: 1.757 MB / 0.7154 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003581/0.5067, allocations: 11.94 kB / 0.7154 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005068/0.5073, allocations: 135.2 kB / 0.7155 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.5086, allocations: 0.495 MB / 0.716 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.5098, allocations: 352.1 kB / 0.7163 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003241/0.513, allocations: 3.471 MB / 0.7197 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.5142, allocations: 0.7435 MB / 0.7204 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001626/0.5158, allocations: 0.8947 MB / 0.7213 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.5169, allocations: 0.7233 MB / 0.722 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.517, allocations: 32 kB / 0.722 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.5185, allocations: 0.799 MB / 0.7228 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000319/0.5188, allocations: 282.9 kB / 0.7231 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006862/0.5195, allocations: 0.5262 MB / 0.7236 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.5211, allocations: 1.363 MB / 0.7249 GB, free: 13.72 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.5211, allocations: 0 / 0.7249 GB, free: 13.72 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.775e-06/0.5211, allocations: 4 kB / 0.7249 GB, free: 13.72 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.826e-05/0.5211, allocations: 3.938 kB / 0.7249 GB, free: 13.71 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001959/0.5231, allocations: 1.265 MB / 0.7262 GB, free: 12.39 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.5231, allocations: 8.031 kB / 0.7262 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/0.5233, allocations: 98.52 kB / 0.7263 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000761/0.524, allocations: 186.5 kB / 0.7265 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.5252, allocations: 0.8021 MB / 0.7272 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.892e-05/0.5252, allocations: 45 kB / 0.7273 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.055e-05/0.5253, allocations: 56 kB / 0.7273 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.5264, allocations: 0.7965 MB / 0.7281 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.5264, allocations: 11.88 kB / 0.7281 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.5265, allocations: 23.98 kB / 0.7281 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.5265, allocations: 20 kB / 0.7282 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008784/0.5274, allocations: 0.5423 MB / 0.7287 GB, free: 9.664 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.003579/0.531, allocations: 4.595 MB / 0.7332 GB, free: 4.684 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006901/0.5317, allocations: 434.2 kB / 0.7336 GB, free: 4.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/0.5321, allocations: 251.7 kB / 0.7338 GB, free: 4.004 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/0.5323, allocations: 194.2 kB / 0.734 GB, free: 3.777 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004972/0.5329, allocations: 301.1 kB / 0.7343 GB, free: 3.465 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.5329, allocations: 0 / 0.7343 GB, free: 3.465 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001272/0.5341, allocations: 0.6484 MB / 0.7349 GB, free: 2.812 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.5342, allocations: 85.05 kB / 0.735 GB, free: 2.711 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.5354, allocations: 1.114 MB / 0.7361 GB, free: 1.578 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.5355, allocations: 37.7 kB / 0.7361 GB, free: 1.535 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000385/0.5359, allocations: 0.4884 MB / 0.7366 GB, free: 1.039 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.016e-05/0.536, allocations: 106.5 kB / 0.7367 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-05/0.5361, allocations: 41.7 kB / 0.7368 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.5362, allocations: 337.9 kB / 0.7371 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.5366, allocations: 204.9 kB / 0.7373 GB, free: 360 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005899/0.5372, allocations: 0.526 MB / 0.7378 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008658/0.538, allocations: 0.6516 MB / 0.7384 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5381, allocations: 0 / 0.7384 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001147/0.5392, allocations: 0.7279 MB / 0.7391 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001519/0.5394, allocations: 275.1 kB / 0.7394 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.5394, allocations: 7.984 kB / 0.7394 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.5394, allocations: 11.94 kB / 0.7394 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.5398, allocations: 115.8 kB / 0.7395 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.5399, allocations: 11.98 kB / 0.7395 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006658/0.5405, allocations: 95.44 kB / 0.7396 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/0.5406, allocations: 24 kB / 0.7397 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.772e-06/0.5406, allocations: 4 kB / 0.7397 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008606/0.5415, allocations: 0.5359 MB / 0.7402 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.5415, allocations: 4.656 kB / 0.7402 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.5415, allocations: 8 kB / 0.7402 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.5419, allocations: 111.8 kB / 0.7403 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.5419, allocations: 11.98 kB / 0.7403 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006211/0.5425, allocations: 91.56 kB / 0.7404 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.5426, allocations: 20 kB / 0.7404 GB, free: 12.82 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 (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.0004356/0.543, allocations: 469 kB / 0.7409 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.5431, allocations: 102.8 kB / 0.741 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000873/0.544, allocations: 0.5034 MB / 0.7415 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.544, allocations: 7.984 kB / 0.7415 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.544, allocations: 3.938 kB / 0.7415 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.544, allocations: 7.984 kB / 0.7415 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.5459, allocations: 1.385 MB / 0.7428 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.546, allocations: 4 kB / 0.7428 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.5462, allocations: 71.89 kB / 0.7429 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.5462, allocations: 7.938 kB / 0.7429 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.5463, allocations: 12.2 kB / 0.7429 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.5463, allocations: 8 kB / 0.7429 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5463, allocations: 3.938 kB / 0.7429 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007675/0.547, allocations: 0.6023 MB / 0.7435 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/0.5473, allocations: 219.8 kB / 0.7437 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.5474, allocations: 11.98 kB / 0.7437 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/0.5479, allocations: 55.8 kB / 0.7438 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/0.548, allocations: 31.91 kB / 0.7438 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.548, allocations: 11.94 kB / 0.7438 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009179/0.5489, allocations: 0.7953 MB / 0.7446 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5489, allocations: 0 / 0.7446 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001042/0.55, allocations: 403.4 kB / 0.745 GB, free: 7.969 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 (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.001289/0.5513, allocations: 1.219 MB / 0.7462 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001305/0.5526, allocations: 0.8371 MB / 0.747 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5526, allocations: 4.062 kB / 0.747 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.553, allocations: 207.4 kB / 0.7472 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/0.5552, allocations: 460.4 kB / 0.7477 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.5679, allocations: 8.82 MB / 0.7563 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006432/0.5686, allocations: 1.177 MB / 0.7574 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001073/0.5697, allocations: 423.6 kB / 0.7578 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/0.5701, allocations: 327.3 kB / 0.7581 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of SimCode: time 6.02e-07/0.5701, allocations: 0 / 0.7581 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.123/0.6931, allocations: 24.92 MB / 0.7825 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003119/0.6935, allocations: 273.1 kB / 0.7827 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/3.091, allocations: 0 / 0.7827 GB, free: 1.133 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)