Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",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.001027/0.001027, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7533/0.7533, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 221.3 MB / 400.4 MB, free: 5.789 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 92.95 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.628e-05/3.631e-05, allocations: 6.234 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1714, allocations: 82.32 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.157/6.329, allocations: 1.934 GB / 2.574 GB, free: 252.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004595/6.329, allocations: 88 kB / 2.574 GB, free: 252.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.597/8.926, allocations: 0.6277 GB / 3.202 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.402e-06/8.926, allocations: 0 / 3.202 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002043/8.927, allocations: 36.39 kB / 3.202 GB, free: 119.6 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.004796/8.931, allocations: 1.583 MB / 3.203 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/8.931, allocations: 9.938 kB / 3.203 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004663/8.932, allocations: 153.5 kB / 3.204 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002744/8.935, allocations: 366.3 kB / 3.204 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004025/8.939, allocations: 1.212 MB / 3.205 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/8.939, allocations: 75.75 kB / 3.205 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003545/8.939, allocations: 112.7 kB / 3.205 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002641/8.942, allocations: 1.079 MB / 3.206 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.449e-05/8.942, allocations: 0 / 3.206 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/8.942, allocations: 41.53 kB / 3.206 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-05/8.942, allocations: 42.94 kB / 3.206 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/8.944, allocations: 0.7625 MB / 3.207 GB, free: 118.2 MB / 0.6823 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.006864/8.951, allocations: 5.148 MB / 3.212 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/8.952, allocations: 0.6731 MB / 3.213 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000448/8.952, allocations: 321.6 kB / 3.213 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005264/8.953, allocations: 315.7 kB / 3.213 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/8.953, allocations: 39.47 kB / 3.213 GB, free: 115 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 3.586e-06/8.953, allocations: 0 / 3.213 GB, free: 115 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.001533/8.954, allocations: 0.6978 MB / 3.214 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/8.954, allocations: 161.9 kB / 3.214 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/8.955, allocations: 0.7563 MB / 3.215 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.813e-05/8.956, allocations: 44.14 kB / 3.215 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/8.956, allocations: 0.5623 MB / 3.216 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/8.956, allocations: 240.3 kB / 3.216 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/8.956, allocations: 14.72 kB / 3.216 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.543e-05/8.956, allocations: 340.3 kB / 3.216 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/8.957, allocations: 237.3 kB / 3.216 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005485/8.957, allocations: 471.3 kB / 3.217 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/8.958, allocations: 312 kB / 3.217 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/8.958, allocations: 0 / 3.217 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001229/8.959, allocations: 0.8087 MB / 3.218 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000375/8.959, allocations: 1.665 MB / 3.22 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/8.959, allocations: 10.56 kB / 3.22 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/8.959, allocations: 14 kB / 3.22 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/8.961, allocations: 251.2 kB / 3.22 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/8.962, allocations: 1.41 MB / 3.221 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/8.963, allocations: 138.2 kB / 3.221 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-05/8.963, allocations: 29 kB / 3.221 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/8.963, allocations: 3.969 kB / 3.221 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001012/8.964, allocations: 0.6879 MB / 3.222 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/8.964, allocations: 3.094 kB / 3.222 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/8.964, allocations: 10.03 kB / 3.222 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/8.966, allocations: 253.7 kB / 3.222 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009338/8.967, allocations: 1.407 MB / 3.224 GB, free: 109 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/8.968, allocations: 126.1 kB / 3.224 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.23e-05/8.968, allocations: 32.95 kB / 3.224 GB, free: 108.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001971/8.968, allocations: 156.9 kB / 3.224 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/8.968, allocations: 115.8 kB / 3.224 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/8.97, allocations: 0.7842 MB / 3.225 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/8.97, allocations: 6.344 kB / 3.225 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/8.97, allocations: 9.203 kB / 3.225 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/8.971, allocations: 0.7017 MB / 3.226 GB, free: 108.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/8.974, allocations: 1.958 MB / 3.227 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/8.974, allocations: 6 kB / 3.227 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007055/8.975, allocations: 151.2 kB / 3.228 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003953/8.975, allocations: 45.75 kB / 3.228 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.399e-05/8.975, allocations: 18.03 kB / 3.228 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/8.977, allocations: 1.382 MB / 3.229 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/8.977, allocations: 3.938 kB / 3.229 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/8.978, allocations: 1.342 MB / 3.23 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005134/8.979, allocations: 262.6 kB / 3.231 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/8.979, allocations: 29.69 kB / 3.231 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008294/8.98, allocations: 79.89 kB / 3.231 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.743e-05/8.98, allocations: 45.17 kB / 3.231 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/8.98, allocations: 21.16 kB / 3.231 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008191/8.981, allocations: 0.5894 MB / 3.231 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/8.981, allocations: 0 / 3.231 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002422/8.983, allocations: 0.7123 MB / 3.232 GB, free: 105.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004942/8.988, allocations: 4.046 MB / 3.236 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002778/8.991, allocations: 1.136 MB / 3.237 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/8.991, allocations: 3.375 kB / 3.237 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006819/8.992, allocations: 450.4 kB / 3.238 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/8.994, allocations: 0.4955 MB / 3.238 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005186/8.999, allocations: 1.97 MB / 3.24 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/9.001, allocations: 1.169 MB / 3.241 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001815/9.002, allocations: 349.3 kB / 3.241 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006696/9.003, allocations: 453.7 kB / 3.242 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.272e-06/9.003, allocations: 0 / 3.242 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/9.106, allocations: 60.33 MB / 3.301 GB, free: 44.83 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/9.107, allocations: 223.5 kB / 3.301 GB, free: 44.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.122/13.23, allocations: 0 / 3.301 GB, free: 44.61 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)