Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9959/0.9959, allocations: 133.6 MB / 141.6 MB, free: 2.898 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.653/1.653, allocations: 221.5 MB / 395.5 MB, free: 10.83 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 93.78 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.785e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5849/0.585, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.853/6.438, allocations: 1.858 GB / 2.492 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/6.439, allocations: 83.39 kB / 2.492 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.417/10.86, allocations: 0.9988 GB / 3.491 GB, free: 95.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/10.86, allocations: 0 / 3.491 GB, free: 95.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001004/10.86, allocations: 33.3 kB / 3.491 GB, free: 95.97 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.0085/10.86, allocations: 1.797 MB / 3.493 GB, free: 95.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.514e-05/10.86, allocations: 11.44 kB / 3.493 GB, free: 95.26 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005705/10.87, allocations: 0.5456 MB / 3.493 GB, free: 95.19 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005144/10.88, allocations: 1.066 MB / 3.494 GB, free: 94.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000999/10.88, allocations: 169.6 kB / 3.494 GB, free: 94.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004213/10.88, allocations: 47.44 kB / 3.494 GB, free: 94.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002841/10.88, allocations: 0.9948 MB / 3.495 GB, free: 94.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002755/10.88, allocations: 1.033 MB / 3.496 GB, free: 94.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/10.88, allocations: 2.188 kB / 3.496 GB, free: 94.83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/10.88, allocations: 0 / 3.496 GB, free: 94.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-05/10.88, allocations: 43.58 kB / 3.496 GB, free: 94.83 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.01113/10.89, allocations: 4.015 MB / 3.5 GB, free: 93.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/10.9, allocations: 0.7285 MB / 3.501 GB, free: 93.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/10.9, allocations: 0.4966 MB / 3.502 GB, free: 93.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/10.9, allocations: 0.6083 MB / 3.502 GB, free: 92.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/10.9, allocations: 45 kB / 3.502 GB, free: 92.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 4.799e-06/10.9, allocations: 0 / 3.502 GB, free: 92.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.004075/10.9, allocations: 1.139 MB / 3.503 GB, free: 92.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/10.9, allocations: 58.25 kB / 3.503 GB, free: 92.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/10.9, allocations: 0.5633 MB / 3.504 GB, free: 92.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001661/10.9, allocations: 25.7 kB / 3.504 GB, free: 92.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004536/10.9, allocations: 456.3 kB / 3.504 GB, free: 92.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/10.9, allocations: 251.3 kB / 3.505 GB, free: 92.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-05/10.9, allocations: 3.562 kB / 3.505 GB, free: 92.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001074/10.9, allocations: 332.9 kB / 3.505 GB, free: 91.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008759/10.91, allocations: 392.8 kB / 3.505 GB, free: 91.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009713/10.91, allocations: 0.5216 MB / 3.506 GB, free: 91.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/10.91, allocations: 0.5805 MB / 3.506 GB, free: 91.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/10.91, allocations: 0 / 3.506 GB, free: 91.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002779/10.91, allocations: 1.18 MB / 3.507 GB, free: 91.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001613/10.91, allocations: 489.8 kB / 3.508 GB, free: 91.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/10.91, allocations: 0 / 3.508 GB, free: 91.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/10.91, allocations: 3.406 kB / 3.508 GB, free: 91.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/10.91, allocations: 277.6 kB / 3.508 GB, free: 91.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005439/10.91, allocations: 1.199 MB / 3.509 GB, free: 89.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/10.92, allocations: 182.1 kB / 3.51 GB, free: 89.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/10.92, allocations: 38.91 kB / 3.51 GB, free: 89.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/10.92, allocations: 5.062 kB / 3.51 GB, free: 89.89 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001969/10.92, allocations: 1.063 MB / 3.511 GB, free: 89.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/10.92, allocations: 0 / 3.511 GB, free: 89.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/10.92, allocations: 9.922 kB / 3.511 GB, free: 89.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/10.92, allocations: 260.7 kB / 3.511 GB, free: 89.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/10.92, allocations: 3.812 kB / 3.511 GB, free: 89.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/10.92, allocations: 167.3 kB / 3.511 GB, free: 89.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.16e-05/10.92, allocations: 41.36 kB / 3.511 GB, free: 89.86 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002617/10.92, allocations: 118.5 kB / 3.511 GB, free: 89.75 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001831/10.92, allocations: 1.079 MB / 3.512 GB, free: 89.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/10.92, allocations: 102.5 kB / 3.512 GB, free: 89.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/10.92, allocations: 1.198 MB / 3.514 GB, free: 89.53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/10.92, allocations: 7.594 kB / 3.514 GB, free: 89.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/10.92, allocations: 0 / 3.514 GB, free: 89.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/10.92, allocations: 3.797 kB / 3.514 GB, free: 89.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004127/10.93, allocations: 2.579 MB / 3.516 GB, free: 89.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.465e-06/10.93, allocations: 7.5 kB / 3.516 GB, free: 89.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/10.93, allocations: 260.4 kB / 3.516 GB, free: 89.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/10.93, allocations: 7.5 kB / 3.516 GB, free: 89.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/10.93, allocations: 17.38 kB / 3.516 GB, free: 89.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004173/10.93, allocations: 1.203 MB / 3.518 GB, free: 87.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/10.93, allocations: 7.094 kB / 3.518 GB, free: 87.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/10.93, allocations: 1.487 MB / 3.519 GB, free: 87.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005895/10.93, allocations: 299.9 kB / 3.519 GB, free: 87.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/10.93, allocations: 10.95 kB / 3.519 GB, free: 87.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/10.93, allocations: 157.5 kB / 3.519 GB, free: 87.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/10.93, allocations: 62.16 kB / 3.519 GB, free: 87.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.214e-05/10.93, allocations: 37.67 kB / 3.52 GB, free: 87.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006424/10.94, allocations: 441.2 kB / 3.52 GB, free: 87.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.98e-06/10.94, allocations: 0 / 3.52 GB, free: 87.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00249/10.94, allocations: 0.6899 MB / 3.521 GB, free: 87.07 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006649/10.94, allocations: 5.575 MB / 3.526 GB, free: 84.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00278/10.95, allocations: 1.615 MB / 3.528 GB, free: 84.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/10.95, allocations: 0 / 3.528 GB, free: 84.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008233/10.95, allocations: 0.5193 MB / 3.528 GB, free: 84.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/10.95, allocations: 427 kB / 3.529 GB, free: 84.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/10.96, allocations: 2.531 MB / 3.531 GB, free: 83.51 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006397/10.97, allocations: 1.119 MB / 3.532 GB, free: 82.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002124/10.97, allocations: 441.5 kB / 3.533 GB, free: 82.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006197/10.97, allocations: 374.2 kB / 3.533 GB, free: 82.79 MB / 0.698 GB Notification: Performance of SimCode: time 1.854e-06/10.97, allocations: 0 / 3.533 GB, free: 82.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08575/11.05, allocations: 43.54 MB / 3.575 GB, free: 80.63 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/11.05, allocations: 191.6 kB / 3.576 GB, free: 80.43 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.166/15.22, allocations: 0 / 3.576 GB, free: 80.43 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)