Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.001606/0.001607, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.002906/0.002906, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.541/2.541, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.729/1.729, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004318/0.0004321, allocations: 11.38 kB / 0.5069 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3014, allocations: 82.3 MB / 0.5873 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.9865/1.288, allocations: 140.5 MB / 0.7244 GB, free: 8.578 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009902/1.298, allocations: 3.602 MB / 0.728 GB, free: 6.074 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/1.299, allocations: 11.34 kB / 0.728 GB, free: 6.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001585/1.301, allocations: 240 kB / 0.7282 GB, free: 5.934 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003575/1.304, allocations: 0.6996 MB / 0.7289 GB, free: 5.504 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002212/1.307, allocations: 490.5 kB / 0.7293 GB, free: 5.281 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003421/1.31, allocations: 1.651 MB / 0.731 GB, free: 4.453 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004461/1.314, allocations: 2.317 MB / 0.7332 GB, free: 3.633 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002895/1.317, allocations: 0.8577 MB / 0.7341 GB, free: 3.223 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001484/1.319, allocations: 0.604 MB / 0.7347 GB, free: 2.969 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/1.319, allocations: 50.47 kB / 0.7347 GB, free: 2.965 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/1.321, allocations: 455.9 kB / 0.7351 GB, free: 2.855 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004926/1.321, allocations: 309.5 kB / 0.7354 GB, free: 2.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004467/1.322, allocations: 250.2 kB / 0.7357 GB, free: 2.602 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00168/1.324, allocations: 1.121 MB / 0.7368 GB, free: 2.352 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/1.324, allocations: 3.938 kB / 0.7368 GB, free: 2.348 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.104e-06/1.324, allocations: 0 / 0.7368 GB, free: 2.348 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.146e-05/1.324, allocations: 0 / 0.7368 GB, free: 2.348 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003663/1.327, allocations: 1.497 MB / 0.7382 GB, free: 1.422 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/1.327, allocations: 12.16 kB / 0.7382 GB, free: 1.422 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002601/1.328, allocations: 99.91 kB / 0.7383 GB, free: 1.348 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/1.329, allocations: 206.1 kB / 0.7385 GB, free: 1.195 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002263/1.331, allocations: 0.8666 MB / 0.7394 GB, free: 424 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-05/1.331, allocations: 49.31 kB / 0.7394 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/1.331, allocations: 60 kB / 0.7395 GB, free: 316 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/1.333, allocations: 0.9893 MB / 0.7404 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/1.333, allocations: 11.92 kB / 0.7405 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/1.333, allocations: 20 kB / 0.7405 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/1.333, allocations: 19.94 kB / 0.7405 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/1.335, allocations: 0.8077 MB / 0.7413 GB, free: 14.58 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.008776/1.344, allocations: 4.805 MB / 0.746 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004388/1.348, allocations: 4.03 MB / 0.7499 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/1.348, allocations: 12.27 kB / 0.7499 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009369/1.349, allocations: 330 kB / 0.7502 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009052/1.35, allocations: 36.55 kB / 0.7503 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.745e-06/1.35, allocations: 0 / 0.7503 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.008311/1.359, allocations: 1.692 MB / 0.7519 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/1.359, allocations: 106.8 kB / 0.752 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00303/1.362, allocations: 1.181 MB / 0.7532 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001882/1.362, allocations: 37.7 kB / 0.7532 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008028/1.363, allocations: 0.5198 MB / 0.7537 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/1.363, allocations: 118.4 kB / 0.7538 GB, free: 480 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/1.363, allocations: 12 kB / 0.7539 GB, free: 468 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002221/1.363, allocations: 322 kB / 0.7542 GB, free: 140 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000672/1.364, allocations: 213 kB / 0.7544 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/1.365, allocations: 0.5336 MB / 0.7549 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008185/1.366, allocations: 327 kB / 0.7552 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/1.366, allocations: 0 / 0.7552 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003962/1.37, allocations: 1.084 MB / 0.7563 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.001217/1.371, allocations: 2.141 MB / 0.7583 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/1.371, allocations: 8 kB / 0.7584 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001759/1.373, allocations: 442.1 kB / 0.7588 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/1.373, allocations: 75.89 kB / 0.7588 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/1.376, allocations: 1.122 MB / 0.7599 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/1.378, allocations: 99.73 kB / 0.76 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/1.378, allocations: 27.98 kB / 0.7601 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/1.378, allocations: 4 kB / 0.7601 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002077/1.38, allocations: 0.8058 MB / 0.7609 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.38, allocations: 4.625 kB / 0.7609 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000778/1.381, allocations: 260.5 kB / 0.7611 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/1.382, allocations: 71.89 kB / 0.7612 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004971/1.387, allocations: 3.204 MB / 0.7643 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/1.388, allocations: 99.8 kB / 0.7644 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.009e-05/1.388, allocations: 27.94 kB / 0.7644 GB, free: 5.137 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 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0009295/1.389, allocations: 476.5 kB / 0.7649 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/1.389, allocations: 106.7 kB / 0.765 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/1.391, allocations: 0.8104 MB / 0.7658 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/1.391, allocations: 8 kB / 0.7658 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.391, allocations: 0 / 0.7658 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/1.391, allocations: 0 / 0.7658 GB, free: 3.73 MB / 0.5762 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 postOpt removeSimpleEquations (simulation): time 0.00396/1.395, allocations: 2.237 MB / 0.768 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/1.395, allocations: 4 kB / 0.768 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/1.395, allocations: 47.95 kB / 0.768 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005711/1.396, allocations: 248.7 kB / 0.7683 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/1.396, allocations: 8 kB / 0.7683 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/1.397, allocations: 0.9353 MB / 0.7692 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.397, allocations: 4 kB / 0.7692 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/1.399, allocations: 0.9732 MB / 0.7701 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006817/1.4, allocations: 239.7 kB / 0.7704 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/1.4, allocations: 11.98 kB / 0.7704 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007723/1.401, allocations: 75.88 kB / 0.7704 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/1.401, allocations: 43.88 kB / 0.7705 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/1.401, allocations: 12 kB / 0.7705 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001401/1.402, allocations: 0.8289 MB / 0.7713 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.51e-07/1.402, allocations: 3.938 kB / 0.7713 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001804/1.404, allocations: 0.5032 MB / 0.7718 GB, free: 13.3 MB / 0.5919 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002426/1.407, allocations: 1.978 MB / 0.7737 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00319/1.41, allocations: 1.28 MB / 0.775 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.41, allocations: 0 / 0.775 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007782/1.411, allocations: 329.5 kB / 0.7753 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004003/1.415, allocations: 0.6569 MB / 0.7759 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/1.436, allocations: 10.48 MB / 0.7862 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/1.437, allocations: 1.236 MB / 0.7874 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002021/1.439, allocations: 328.6 kB / 0.7877 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000741/1.44, allocations: 359.3 kB / 0.788 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of SimCode: time 2.024e-06/1.44, allocations: 0 / 0.788 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1364/1.576, allocations: 31.24 MB / 0.8185 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004945/1.577, allocations: 264 kB / 0.8188 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.332/5.909, allocations: 0 / 0.8188 GB, free: 13.03 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) Environment - environmentSimulation: