Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.Examples.ConstantEffectiveness,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness",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.002278/0.002277, allocations: 180.9 kB / 7.65 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.8029/0.8029, allocations: 133.6 MB / 141.6 MB, free: 2.863 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.656/1.656, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.001151/0.001152, allocations: 103.8 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.151e-05/2.151e-05, allocations: 0 / 0.5535 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6558/0.6558, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.689/6.344, allocations: 1.858 GB / 2.492 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/6.345, allocations: 83.95 kB / 2.492 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.1/10.44, allocations: 0.9983 GB / 3.49 GB, free: 97.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/10.44, allocations: 2 kB / 3.49 GB, free: 97.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001476/10.44, allocations: 31.08 kB / 3.49 GB, free: 97.54 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.006803/10.45, allocations: 1.79 MB / 3.492 GB, free: 96.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/10.45, allocations: 9.438 kB / 3.492 GB, free: 96.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003489/10.46, allocations: 0.5477 MB / 3.493 GB, free: 96.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003363/10.46, allocations: 1.071 MB / 3.494 GB, free: 96.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006336/10.46, allocations: 167 kB / 3.494 GB, free: 96.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003836/10.46, allocations: 48.5 kB / 3.494 GB, free: 96.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00208/10.46, allocations: 0.9926 MB / 3.495 GB, free: 96.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/10.46, allocations: 1.036 MB / 3.496 GB, free: 96.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/10.46, allocations: 2.812 kB / 3.496 GB, free: 96.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/10.46, allocations: 2.578 kB / 3.496 GB, free: 96.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.694e-05/10.46, allocations: 38.23 kB / 3.496 GB, free: 96.5 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.00676/10.47, allocations: 4.026 MB / 3.5 GB, free: 95.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/10.47, allocations: 0.7208 MB / 3.5 GB, free: 94.99 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005977/10.47, allocations: 0.4898 MB / 3.501 GB, free: 94.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008798/10.47, allocations: 0.6109 MB / 3.502 GB, free: 94.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/10.47, allocations: 42.44 kB / 3.502 GB, free: 94.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.306e-06/10.47, allocations: 0 / 3.502 GB, free: 94.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.002341/10.48, allocations: 1.137 MB / 3.503 GB, free: 94.28 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/10.48, allocations: 61.5 kB / 3.503 GB, free: 94.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007184/10.48, allocations: 0.5655 MB / 3.503 GB, free: 94.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/10.48, allocations: 29.61 kB / 3.503 GB, free: 94.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003089/10.48, allocations: 453.4 kB / 3.504 GB, free: 93.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/10.48, allocations: 245.7 kB / 3.504 GB, free: 93.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/10.48, allocations: 0 / 3.504 GB, free: 93.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.128e-05/10.48, allocations: 341.3 kB / 3.504 GB, free: 93.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000509/10.48, allocations: 393.9 kB / 3.505 GB, free: 93.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000605/10.48, allocations: 0.5209 MB / 3.505 GB, free: 93.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/10.48, allocations: 0.5833 MB / 3.506 GB, free: 93.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/10.48, allocations: 3.906 kB / 3.506 GB, free: 93.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001999/10.48, allocations: 1.176 MB / 3.507 GB, free: 93.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001534/10.48, allocations: 484.2 kB / 3.507 GB, free: 92.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/10.48, allocations: 3.188 kB / 3.507 GB, free: 92.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/10.48, allocations: 3.25 kB / 3.507 GB, free: 92.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/10.48, allocations: 284.2 kB / 3.508 GB, free: 92.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005339/10.48, allocations: 1.202 MB / 3.509 GB, free: 91.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/10.49, allocations: 173.8 kB / 3.509 GB, free: 91.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/10.49, allocations: 45.23 kB / 3.509 GB, free: 91.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/10.49, allocations: 4.656 kB / 3.509 GB, free: 91.57 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001863/10.49, allocations: 1.055 MB / 3.51 GB, free: 91.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/10.49, allocations: 2.781 kB / 3.51 GB, free: 91.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/10.49, allocations: 3.031 kB / 3.51 GB, free: 91.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/10.49, allocations: 261.1 kB / 3.51 GB, free: 91.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/10.49, allocations: 10.58 kB / 3.51 GB, free: 91.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/10.49, allocations: 172.1 kB / 3.51 GB, free: 91.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.393e-05/10.49, allocations: 40.94 kB / 3.511 GB, free: 91.54 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.0002762/10.49, allocations: 125.6 kB / 3.511 GB, free: 91.43 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001875/10.49, allocations: 1.081 MB / 3.512 GB, free: 91.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/10.49, allocations: 95.44 kB / 3.512 GB, free: 91.29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/10.49, allocations: 1.199 MB / 3.513 GB, free: 91.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/10.49, allocations: 7.25 kB / 3.513 GB, free: 91.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/10.49, allocations: 0 / 3.513 GB, free: 91.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/10.49, allocations: 3.656 kB / 3.513 GB, free: 91.21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004395/10.5, allocations: 2.585 MB / 3.516 GB, free: 90.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/10.5, allocations: 3.812 kB / 3.516 GB, free: 90.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/10.5, allocations: 259.2 kB / 3.516 GB, free: 90.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/10.5, allocations: 7.094 kB / 3.516 GB, free: 90.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.5e-05/10.5, allocations: 16.38 kB / 3.516 GB, free: 90.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004149/10.5, allocations: 1.197 MB / 3.517 GB, free: 89.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/10.5, allocations: 6 kB / 3.517 GB, free: 89.61 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/10.5, allocations: 1.485 MB / 3.518 GB, free: 89.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005719/10.5, allocations: 308.2 kB / 3.519 GB, free: 88.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/10.5, allocations: 7.281 kB / 3.519 GB, free: 88.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/10.51, allocations: 155 kB / 3.519 GB, free: 88.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/10.51, allocations: 64.34 kB / 3.519 GB, free: 88.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/10.51, allocations: 44.58 kB / 3.519 GB, free: 88.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006225/10.51, allocations: 438.2 kB / 3.519 GB, free: 88.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/10.51, allocations: 0 / 3.519 GB, free: 88.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002266/10.51, allocations: 0.6811 MB / 3.52 GB, free: 88.76 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.00647/10.51, allocations: 5.57 MB / 3.525 GB, free: 85.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002909/10.52, allocations: 1.618 MB / 3.527 GB, free: 85.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/10.52, allocations: 2.625 kB / 3.527 GB, free: 85.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008232/10.52, allocations: 0.5215 MB / 3.528 GB, free: 85.76 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/10.52, allocations: 421.7 kB / 3.528 GB, free: 85.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/10.54, allocations: 2.543 MB / 3.53 GB, free: 85.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/10.54, allocations: 1.12 MB / 3.532 GB, free: 84.51 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002047/10.54, allocations: 441.1 kB / 3.532 GB, free: 84.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005798/10.54, allocations: 379.7 kB / 3.532 GB, free: 84.49 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/10.54, allocations: 0 / 3.532 GB, free: 84.49 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07663/10.62, allocations: 43.53 MB / 3.575 GB, free: 82.82 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/10.62, allocations: 176.5 kB / 3.575 GB, free: 82.63 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.967/14.58, allocations: 0 / 3.575 GB, free: 82.63 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)