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.001806/0.001806, allocations: 172.5 kB / 7.646 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.8324/0.8324, allocations: 133.5 MB / 141.6 MB, free: 2.887 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.436/1.436, allocations: 221.5 MB / 395.5 MB, free: 10.76 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.001042/0.001042, allocations: 95.7 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.635e-05/4.634e-05, allocations: 7.984 kB / 0.5535 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6431/0.6432, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.668/6.311, allocations: 1.933 GB / 2.567 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003519/6.312, allocations: 91.19 kB / 2.567 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.164/9.476, allocations: 0.6209 GB / 3.188 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.813e-06/9.476, allocations: 0.625 kB / 3.188 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002501/9.476, allocations: 33.98 kB / 3.188 GB, free: 111.2 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.005727/9.482, allocations: 1.57 MB / 3.189 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/9.482, allocations: 9.562 kB / 3.189 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003036/9.485, allocations: 365.6 kB / 3.19 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00395/9.489, allocations: 1.224 MB / 3.191 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.269e-05/9.489, allocations: 32.25 kB / 3.191 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/9.489, allocations: 68.97 kB / 3.191 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001755/9.491, allocations: 0.696 MB / 3.192 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/9.493, allocations: 0.9361 MB / 3.193 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/9.493, allocations: 3.328 kB / 3.193 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.513e-05/9.493, allocations: 8.719 kB / 3.193 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.176e-05/9.494, allocations: 36.72 kB / 3.193 GB, free: 110.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.006521/9.5, allocations: 4.914 MB / 3.197 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008746/9.501, allocations: 0.6304 MB / 3.198 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004226/9.501, allocations: 307.4 kB / 3.198 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005268/9.502, allocations: 314.1 kB / 3.199 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/9.502, allocations: 41.72 kB / 3.199 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 2.916e-06/9.502, allocations: 0 / 3.199 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.001583/9.504, allocations: 0.7115 MB / 3.199 GB, free: 107 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/9.504, allocations: 166.1 kB / 3.199 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00076/9.504, allocations: 0.5984 MB / 3.2 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.516e-05/9.504, allocations: 25.7 kB / 3.2 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/9.505, allocations: 0.5667 MB / 3.201 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/9.505, allocations: 236.2 kB / 3.201 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/9.505, allocations: 0 / 3.201 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.134e-05/9.505, allocations: 338.2 kB / 3.201 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/9.506, allocations: 224 kB / 3.201 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004992/9.506, allocations: 456.6 kB / 3.202 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005843/9.507, allocations: 346.9 kB / 3.202 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/9.507, allocations: 3.906 kB / 3.202 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001231/9.508, allocations: 0.7962 MB / 3.203 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003514/9.508, allocations: 1.667 MB / 3.205 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/9.508, allocations: 3.219 kB / 3.205 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/9.508, allocations: 7.5 kB / 3.205 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/9.51, allocations: 258.5 kB / 3.205 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/9.511, allocations: 1.358 MB / 3.206 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/9.512, allocations: 100.2 kB / 3.206 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.693e-05/9.512, allocations: 32.75 kB / 3.206 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/9.512, allocations: 4.344 kB / 3.206 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001082/9.513, allocations: 0.6663 MB / 3.207 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/9.513, allocations: 6.656 kB / 3.207 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/9.513, allocations: 13.78 kB / 3.207 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/9.515, allocations: 258.2 kB / 3.207 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008754/9.516, allocations: 1.354 MB / 3.209 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/9.517, allocations: 99.91 kB / 3.209 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.921e-05/9.517, allocations: 36.23 kB / 3.209 GB, free: 101.4 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.0002146/9.517, allocations: 122.1 kB / 3.209 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001135/9.518, allocations: 0.6704 MB / 3.209 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/9.518, allocations: 105.4 kB / 3.21 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/9.52, allocations: 0.7868 MB / 3.21 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/9.52, allocations: 10.22 kB / 3.21 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/9.52, allocations: 0 / 3.21 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001112/9.521, allocations: 0.7091 MB / 3.211 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003105/9.524, allocations: 1.853 MB / 3.213 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/9.524, allocations: 6.469 kB / 3.213 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007209/9.525, allocations: 150.9 kB / 3.213 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004009/9.525, allocations: 49.28 kB / 3.213 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.922e-05/9.525, allocations: 6.312 kB / 3.213 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/9.526, allocations: 1.332 MB / 3.214 GB, free: 99.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/9.526, allocations: 6.812 kB / 3.214 GB, free: 99.25 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/9.528, allocations: 1.329 MB / 3.216 GB, free: 98.87 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005468/9.529, allocations: 256.1 kB / 3.216 GB, free: 98.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/9.529, allocations: 4.219 kB / 3.216 GB, free: 98.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007755/9.53, allocations: 67.59 kB / 3.216 GB, free: 98.72 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/9.53, allocations: 44.42 kB / 3.216 GB, free: 98.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.613e-05/9.53, allocations: 20.91 kB / 3.216 GB, free: 98.72 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008252/9.531, allocations: 464.3 kB / 3.216 GB, free: 98.61 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.61e-07/9.531, allocations: 0 / 3.216 GB, free: 98.61 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002328/9.533, allocations: 0.652 MB / 3.217 GB, free: 98.56 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.004636/9.538, allocations: 4.246 MB / 3.221 GB, free: 96.76 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002949/9.541, allocations: 1.072 MB / 3.222 GB, free: 96.74 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/9.541, allocations: 4.75 kB / 3.222 GB, free: 96.74 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007294/9.542, allocations: 420.5 kB / 3.223 GB, free: 96.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/9.544, allocations: 428.3 kB / 3.223 GB, free: 96.62 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/9.548, allocations: 1.882 MB / 3.225 GB, free: 96.08 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005496/9.549, allocations: 1.166 MB / 3.226 GB, free: 95.38 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001346/9.55, allocations: 318.9 kB / 3.226 GB, free: 95.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004804/9.551, allocations: 448.8 kB / 3.227 GB, free: 95.36 MB / 0.6823 GB Notification: Performance of SimCode: time 1.232e-06/9.551, allocations: 3.844 kB / 3.227 GB, free: 95.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07723/9.628, allocations: 38.92 MB / 3.265 GB, free: 94.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/9.628, allocations: 172.4 kB / 3.265 GB, free: 94.42 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.7/13.33, allocations: 0 / 3.265 GB, free: 94.42 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)