Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.0009776/0.0009777, allocations: 88.23 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.001113/0.001113, allocations: 181.5 kB / 16.91 MB, free: 6.645 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.371/1.371, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6962/0.6962, allocations: 115.5 MB / 407.6 MB, free: 2.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.0003407, allocations: 8 kB / 496 MB, free: 6.305 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1411, allocations: 77.52 MB / 0.56 GB, free: 8.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.4123/0.5535, allocations: 157.3 MB / 0.7136 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005003/0.5585, allocations: 3.589 MB / 0.7171 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004283/0.559, allocations: 11.94 kB / 0.7171 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006114/0.5596, allocations: 139.2 kB / 0.7173 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.561, allocations: 498 kB / 0.7178 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.5622, allocations: 395 kB / 0.7181 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00335/0.5656, allocations: 3.479 MB / 0.7215 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.5667, allocations: 0.7547 MB / 0.7223 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.5684, allocations: 0.9141 MB / 0.7232 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.5695, allocations: 0.7155 MB / 0.7239 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.5696, allocations: 32 kB / 0.7239 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.5711, allocations: 0.799 MB / 0.7247 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003336/0.5714, allocations: 278.9 kB / 0.7249 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007274/0.5722, allocations: 0.534 MB / 0.7255 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.5738, allocations: 1.363 MB / 0.7268 GB, free: 11.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5738, allocations: 4 kB / 0.7268 GB, free: 11.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.196e-06/0.5738, allocations: 0 / 0.7268 GB, free: 11.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.527e-05/0.5738, allocations: 3.938 kB / 0.7268 GB, free: 11.95 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.002179/0.576, allocations: 1.265 MB / 0.728 GB, free: 10.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.5761, allocations: 8.031 kB / 0.728 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001448/0.5762, allocations: 102.5 kB / 0.7281 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000816/0.577, allocations: 190.5 kB / 0.7283 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.5783, allocations: 0.8023 MB / 0.7291 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/0.5784, allocations: 45 kB / 0.7291 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.026e-05/0.5785, allocations: 56 kB / 0.7292 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.5797, allocations: 0.8012 MB / 0.73 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.5797, allocations: 7.875 kB / 0.73 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.653e-05/0.5798, allocations: 24 kB / 0.73 GB, free: 8.457 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.5798, allocations: 15.94 kB / 0.73 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000967/0.5808, allocations: 0.5461 MB / 0.7306 GB, free: 7.891 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.004112/0.5849, allocations: 4.595 MB / 0.735 GB, free: 2.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007287/0.5856, allocations: 424.2 kB / 0.7354 GB, free: 2.488 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/0.5861, allocations: 254.7 kB / 0.7357 GB, free: 2.238 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002764/0.5863, allocations: 190.2 kB / 0.7359 GB, free: 2.016 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004916/0.5868, allocations: 301.1 kB / 0.7362 GB, free: 1.703 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.194e-06/0.5869, allocations: 7.938 kB / 0.7362 GB, free: 1.695 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.005161/0.592, allocations: 1.68 MB / 0.7378 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.5921, allocations: 85.11 kB / 0.7379 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.5935, allocations: 1.118 MB / 0.739 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.5936, allocations: 37.7 kB / 0.739 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004029/0.594, allocations: 496.1 kB / 0.7395 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.487e-05/0.5941, allocations: 106.5 kB / 0.7396 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-05/0.5942, allocations: 41.7 kB / 0.7396 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.734e-05/0.5943, allocations: 326 kB / 0.7399 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003823/0.5947, allocations: 212.9 kB / 0.7401 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/0.5953, allocations: 0.5253 MB / 0.7407 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008978/0.5962, allocations: 0.6478 MB / 0.7413 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5962, allocations: 0 / 0.7413 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002181/0.5984, allocations: 1.056 MB / 0.7423 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.5986, allocations: 279.1 kB / 0.7426 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.5986, allocations: 4 kB / 0.7426 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.5999, allocations: 382.5 kB / 0.743 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.6001, allocations: 67.84 kB / 0.743 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.6015, allocations: 1.087 MB / 0.7441 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007436/0.6022, allocations: 99.47 kB / 0.7442 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/0.6023, allocations: 20 kB / 0.7442 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.6023, allocations: 8 kB / 0.7442 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001363/0.6037, allocations: 0.728 MB / 0.7449 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.6037, allocations: 8 kB / 0.7449 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005247/0.6042, allocations: 213.2 kB / 0.7451 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.6044, allocations: 59.91 kB / 0.7452 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003439/0.6079, allocations: 3.007 MB / 0.7481 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007095/0.6086, allocations: 83.62 kB / 0.7482 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.6087, allocations: 24.06 kB / 0.7482 GB, free: 4.762 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005045/0.6092, allocations: 476.6 kB / 0.7487 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.6093, allocations: 98.78 kB / 0.7488 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.6107, allocations: 0.7221 MB / 0.7495 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.6107, allocations: 12.12 kB / 0.7495 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.6107, allocations: 0 / 0.7495 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.6107, allocations: 3.984 kB / 0.7495 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/0.6131, allocations: 1.616 MB / 0.7511 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.6131, allocations: 4 kB / 0.7511 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.6133, allocations: 23.92 kB / 0.7511 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005156/0.6138, allocations: 250.4 kB / 0.7513 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.6138, allocations: 8.188 kB / 0.7513 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009957/0.6148, allocations: 1.04 MB / 0.7524 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6148, allocations: 3.938 kB / 0.7524 GB, free: 400 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.6161, allocations: 0.8409 MB / 0.7532 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/0.6164, allocations: 219.8 kB / 0.7534 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.6166, allocations: 8 kB / 0.7534 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005519/0.6171, allocations: 51.8 kB / 0.7534 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.797e-05/0.6173, allocations: 35.89 kB / 0.7535 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.6173, allocations: 12 kB / 0.7535 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001066/0.6184, allocations: 0.7916 MB / 0.7543 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6184, allocations: 4 kB / 0.7543 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001238/0.6196, allocations: 435.5 kB / 0.7547 GB, free: 13.94 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001811/0.6214, allocations: 1.37 MB / 0.756 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002755/0.6242, allocations: 1.221 MB / 0.7572 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.6242, allocations: 0 / 0.7572 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006626/0.6249, allocations: 280.2 kB / 0.7575 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/0.6274, allocations: 479.7 kB / 0.7579 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/0.6438, allocations: 9.485 MB / 0.7672 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000793/0.6447, allocations: 1.188 MB / 0.7684 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009866/0.6457, allocations: 307.9 kB / 0.7687 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004069/0.6461, allocations: 311.3 kB / 0.769 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of SimCode: time 9.02e-07/0.6461, allocations: 0 / 0.769 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7958/1.442, allocations: 27.02 MB / 0.7953 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003776/1.442, allocations: 299.9 kB / 0.7956 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/3.75, allocations: 0 / 0.7956 GB, free: 3.762 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)