Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IDEAS_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.001441/0.001441, allocations: 178.4 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.9384/0.9384, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.427/1.427, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.001139/0.001139, allocations: 96.08 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.542e-05/1.544e-05, allocations: 4 kB / 0.5535 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5012/0.5013, allocations: 82.3 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.836/6.338, allocations: 1.933 GB / 2.567 GB, free: 64.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004372/6.338, allocations: 96.73 kB / 2.567 GB, free: 64.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.021/9.359, allocations: 0.6208 GB / 3.188 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.853e-06/9.359, allocations: 0 / 3.188 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002217/9.359, allocations: 40.11 kB / 3.188 GB, free: 115.5 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.004737/9.364, allocations: 1.578 MB / 3.189 GB, free: 115 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/9.364, allocations: 11.69 kB / 3.189 GB, free: 115 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/9.367, allocations: 363.8 kB / 3.19 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003621/9.371, allocations: 1.214 MB / 3.191 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.612e-05/9.371, allocations: 37.03 kB / 3.191 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002649/9.371, allocations: 71.16 kB / 3.191 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001439/9.372, allocations: 0.6889 MB / 3.192 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/9.374, allocations: 0.9423 MB / 3.193 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/9.374, allocations: 0 / 3.193 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.593e-05/9.374, allocations: 3.844 kB / 3.193 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.434e-05/9.374, allocations: 38.03 kB / 3.193 GB, free: 114.4 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.006035/9.38, allocations: 4.912 MB / 3.197 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008814/9.381, allocations: 0.6336 MB / 3.198 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004083/9.382, allocations: 305.7 kB / 3.198 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005293/9.382, allocations: 313.1 kB / 3.199 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/9.382, allocations: 45.19 kB / 3.199 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 6.252e-06/9.382, allocations: 0 / 3.199 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.00162/9.384, allocations: 0.7096 MB / 3.199 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/9.384, allocations: 161 kB / 3.199 GB, free: 111 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007124/9.385, allocations: 0.6044 MB / 3.2 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/9.385, allocations: 29.39 kB / 3.2 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/9.385, allocations: 0.559 MB / 3.201 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/9.385, allocations: 236.7 kB / 3.201 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/9.385, allocations: 7.438 kB / 3.201 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.575e-05/9.385, allocations: 334.9 kB / 3.201 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/9.386, allocations: 222.9 kB / 3.201 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004536/9.386, allocations: 449.2 kB / 3.202 GB, free: 110 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005687/9.387, allocations: 358.9 kB / 3.202 GB, free: 110 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/9.387, allocations: 2.516 kB / 3.202 GB, free: 110 MB / 0.6823 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001274/9.388, allocations: 0.7904 MB / 3.203 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000392/9.388, allocations: 1.664 MB / 3.205 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/9.388, allocations: 10.47 kB / 3.205 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/9.388, allocations: 10.64 kB / 3.205 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/9.39, allocations: 257.6 kB / 3.205 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/9.391, allocations: 1.351 MB / 3.206 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/9.392, allocations: 102 kB / 3.206 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.097e-05/9.392, allocations: 42.56 kB / 3.206 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/9.392, allocations: 3.625 kB / 3.206 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00112/9.394, allocations: 0.654 MB / 3.207 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/9.394, allocations: 5.906 kB / 3.207 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/9.394, allocations: 15.42 kB / 3.207 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/9.395, allocations: 254.5 kB / 3.207 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009213/9.396, allocations: 1.358 MB / 3.209 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009494/9.397, allocations: 99.14 kB / 3.209 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.088e-05/9.397, allocations: 30.03 kB / 3.209 GB, free: 105.6 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.0002008/9.397, allocations: 124.8 kB / 3.209 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001075/9.398, allocations: 0.6731 MB / 3.209 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/9.398, allocations: 106 kB / 3.21 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/9.4, allocations: 0.7808 MB / 3.21 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/9.4, allocations: 6.312 kB / 3.21 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/9.4, allocations: 3.25 kB / 3.21 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001144/9.401, allocations: 0.7167 MB / 3.211 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003104/9.404, allocations: 1.854 MB / 3.213 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/9.404, allocations: 0 / 3.213 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007011/9.405, allocations: 150.2 kB / 3.213 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003999/9.405, allocations: 48.52 kB / 3.213 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.267e-05/9.405, allocations: 13.64 kB / 3.213 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/9.406, allocations: 1.328 MB / 3.214 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/9.407, allocations: 5.312 kB / 3.214 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/9.409, allocations: 1.331 MB / 3.216 GB, free: 103 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004725/9.409, allocations: 251.8 kB / 3.216 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/9.409, allocations: 13 kB / 3.216 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000697/9.41, allocations: 62.94 kB / 3.216 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.752e-05/9.41, allocations: 45.81 kB / 3.216 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/9.41, allocations: 24.75 kB / 3.216 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006566/9.411, allocations: 461.3 kB / 3.216 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.71e-07/9.411, allocations: 0 / 3.216 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002246/9.413, allocations: 0.6517 MB / 3.217 GB, free: 102.7 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.004824/9.418, allocations: 4.248 MB / 3.221 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002488/9.42, allocations: 1.075 MB / 3.222 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/9.42, allocations: 3.812 kB / 3.222 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006061/9.421, allocations: 423.8 kB / 3.223 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/9.423, allocations: 433 kB / 3.223 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003948/9.427, allocations: 1.894 MB / 3.225 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/9.428, allocations: 1.166 MB / 3.226 GB, free: 99.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001303/9.429, allocations: 316.5 kB / 3.226 GB, free: 99.48 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005021/9.43, allocations: 447.5 kB / 3.227 GB, free: 99.48 MB / 0.6823 GB Notification: Performance of SimCode: time 8.01e-07/9.43, allocations: 0 / 3.227 GB, free: 99.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06989/9.499, allocations: 38.91 MB / 3.265 GB, free: 98.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/9.5, allocations: 166 kB / 3.265 GB, free: 97.96 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.505/13, allocations: 0 / 3.265 GB, free: 97.96 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)