Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow",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.001342/0.001341, allocations: 97.97 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.00194/0.00194, allocations: 177.3 kB / 15.95 MB, free: 216 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.584/2.584, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.673/1.673, allocations: 135.2 MB / 426.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005663/0.0005665, allocations: 8 kB / 0.5069 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3075, allocations: 82.32 MB / 0.5873 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.9413/1.249, allocations: 135.7 MB / 0.7198 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00606/1.255, allocations: 1.668 MB / 0.7214 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007506/1.256, allocations: 9.219 kB / 0.7214 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/1.257, allocations: 181.1 kB / 0.7216 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003041/1.26, allocations: 0.4905 MB / 0.7221 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00243/1.263, allocations: 417.7 kB / 0.7225 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00427/1.267, allocations: 1.504 MB / 0.724 GB, free: 9.422 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006119/1.273, allocations: 2.192 MB / 0.7261 GB, free: 8.648 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00334/1.276, allocations: 0.6989 MB / 0.7268 GB, free: 8.305 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/1.278, allocations: 492.9 kB / 0.7272 GB, free: 8.098 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/1.278, allocations: 34.38 kB / 0.7273 GB, free: 8.098 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/1.28, allocations: 410.8 kB / 0.7277 GB, free: 7.996 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005482/1.281, allocations: 256.8 kB / 0.7279 GB, free: 7.898 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005927/1.281, allocations: 227.2 kB / 0.7281 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002364/1.284, allocations: 0.9878 MB / 0.7291 GB, free: 7.555 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/1.284, allocations: 4 kB / 0.7291 GB, free: 7.551 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.334e-06/1.284, allocations: 0 / 0.7291 GB, free: 7.551 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.318e-05/1.284, allocations: 0 / 0.7291 GB, free: 7.551 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.00442/1.288, allocations: 1.315 MB / 0.7304 GB, free: 6.672 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.931e-05/1.288, allocations: 7.844 kB / 0.7304 GB, free: 6.672 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002525/1.289, allocations: 97.25 kB / 0.7305 GB, free: 6.602 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/1.29, allocations: 192.2 kB / 0.7307 GB, free: 6.527 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003057/1.293, allocations: 0.7954 MB / 0.7314 GB, free: 6.078 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.441e-05/1.293, allocations: 47.05 kB / 0.7315 GB, free: 6.059 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/1.293, allocations: 57.66 kB / 0.7315 GB, free: 6.043 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/1.296, allocations: 0.8203 MB / 0.7323 GB, free: 5.621 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/1.296, allocations: 3.938 kB / 0.7324 GB, free: 5.617 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.36e-05/1.296, allocations: 27.98 kB / 0.7324 GB, free: 5.598 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/1.296, allocations: 13.34 kB / 0.7324 GB, free: 5.598 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/1.298, allocations: 0.5746 MB / 0.733 GB, free: 5.426 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.008574/1.306, allocations: 4.254 MB / 0.7371 GB, free: 2.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/1.308, allocations: 461.2 kB / 0.7375 GB, free: 1.879 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.635e-05/1.308, allocations: 18.84 kB / 0.7376 GB, free: 1.863 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009601/1.309, allocations: 328.5 kB / 0.7379 GB, free: 1.59 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009346/1.31, allocations: 38.59 kB / 0.7379 GB, free: 1.555 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 4.779e-06/1.31, allocations: 0 / 0.7379 GB, free: 1.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.008661/1.319, allocations: 1.572 MB / 0.7394 GB, free: 224 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/1.319, allocations: 106.8 kB / 0.7396 GB, free: 92 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003456/1.322, allocations: 1.151 MB / 0.7407 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000244/1.323, allocations: 37.7 kB / 0.7407 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008991/1.323, allocations: 488.4 kB / 0.7412 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/1.324, allocations: 114.4 kB / 0.7413 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/1.324, allocations: 12 kB / 0.7413 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002751/1.324, allocations: 333.9 kB / 0.7416 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007529/1.325, allocations: 205 kB / 0.7418 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/1.326, allocations: 0.5111 MB / 0.7423 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008665/1.327, allocations: 315.6 kB / 0.7426 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/1.327, allocations: 112 / 0.7426 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.004306/1.331, allocations: 1.051 MB / 0.7436 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.001514/1.333, allocations: 2.138 MB / 0.7457 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/1.333, allocations: 15.88 kB / 0.7457 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002517/1.335, allocations: 403.4 kB / 0.7461 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007612/1.336, allocations: 95.86 kB / 0.7462 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/1.339, allocations: 1.102 MB / 0.7473 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/1.341, allocations: 91.75 kB / 0.7474 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/1.341, allocations: 28.08 kB / 0.7474 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/1.341, allocations: 7.938 kB / 0.7474 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002698/1.344, allocations: 0.7915 MB / 0.7482 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/1.344, allocations: 8 kB / 0.7482 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/1.345, allocations: 238.5 kB / 0.7484 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006105/1.346, allocations: 95.88 kB / 0.7485 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007403/1.353, allocations: 3.134 MB / 0.7516 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/1.355, allocations: 95.75 kB / 0.7517 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/1.355, allocations: 16 kB / 0.7517 GB, free: 3.152 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 ($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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.001557/1.357, allocations: 472.7 kB / 0.7521 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000366/1.357, allocations: 110.6 kB / 0.7522 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/1.36, allocations: 0.7573 MB / 0.753 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/1.36, allocations: 4 kB / 0.753 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.36, allocations: 0 / 0.753 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/1.36, allocations: 0 / 0.753 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/1.363, allocations: 1.158 MB / 0.7541 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/1.363, allocations: 8.219 kB / 0.7541 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004139/1.363, allocations: 63.88 kB / 0.7542 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009644/1.364, allocations: 267.2 kB / 0.7544 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/1.364, allocations: 15.94 kB / 0.7545 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/1.366, allocations: 1.045 MB / 0.7555 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/1.366, allocations: 4 kB / 0.7555 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002492/1.369, allocations: 0.9137 MB / 0.7564 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009464/1.37, allocations: 227.7 kB / 0.7566 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/1.37, allocations: 15.94 kB / 0.7566 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/1.371, allocations: 63.86 kB / 0.7567 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/1.371, allocations: 43.91 kB / 0.7567 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/1.371, allocations: 8 kB / 0.7567 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002285/1.374, allocations: 0.8157 MB / 0.7575 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.31e-07/1.374, allocations: 0 / 0.7575 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002658/1.376, allocations: 471.4 kB / 0.758 GB, free: 12.5 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_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 (13): * Single equations (assignments): 10 * 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003374/1.38, allocations: 1.923 MB / 0.7598 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004572/1.384, allocations: 1.26 MB / 0.7611 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.384, allocations: 0 / 0.7611 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/1.386, allocations: 304.2 kB / 0.7614 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00587/1.392, allocations: 0.6302 MB / 0.762 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02756/1.419, allocations: 10.22 MB / 0.772 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/1.421, allocations: 1.205 MB / 0.7731 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002246/1.423, allocations: 340.1 kB / 0.7735 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007678/1.424, allocations: 323.3 kB / 0.7738 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of SimCode: time 2.094e-06/1.424, allocations: 4 kB / 0.7738 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1509/1.575, allocations: 30.36 MB / 0.8034 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004543/1.575, allocations: 268.1 kB / 0.8037 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.638/6.213, allocations: 0 / 0.8037 GB, free: 13.55 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1) Environment - environmentSimulation: