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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008017/0.0008018, allocations: 98.11 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005431/0.005431, allocations: 169.4 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.3 MB / 240.3 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7857/0.7857, allocations: 132.3 MB / 423.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003178, allocations: 8 kB / 0.5041 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4273, allocations: 81.57 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.1972/0.6245, allocations: 193.9 MB / 0.7731 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01293/0.6375, allocations: 10.31 MB / 0.7832 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.6387, allocations: 51.69 kB / 0.7833 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.6399, allocations: 481 kB / 0.7837 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00421/0.6442, allocations: 1.836 MB / 0.7855 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003051/0.6472, allocations: 1.232 MB / 0.7867 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003535/0.6508, allocations: 3.666 MB / 0.7903 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.6521, allocations: 0.9813 MB / 0.7912 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003579/0.6557, allocations: 1.458 MB / 0.7927 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.6571, allocations: 0.9231 MB / 0.7936 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.6572, allocations: 48 kB / 0.7936 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003681/0.6609, allocations: 2.377 MB / 0.7959 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003168/0.6612, allocations: 350.7 kB / 0.7963 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005909/0.6618, allocations: 0.6386 MB / 0.7969 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002851/0.6647, allocations: 2.484 MB / 0.7993 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6647, allocations: 0 / 0.7993 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6647, allocations: 0 / 0.7993 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.6647, allocations: 0 / 0.7993 GB, free: 2.895 MB / 0.6231 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.002294/0.667, allocations: 1.569 MB / 0.8009 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.6671, allocations: 8.031 kB / 0.8009 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001821/0.6673, allocations: 156.3 kB / 0.801 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/0.6692, allocations: 369.9 kB / 0.8014 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.6706, allocations: 0.9244 MB / 0.8023 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.346e-05/0.6706, allocations: 78 kB / 0.8023 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.6708, allocations: 100 kB / 0.8024 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.6724, allocations: 1.107 MB / 0.8035 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/0.6724, allocations: 7.938 kB / 0.8035 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-05/0.6725, allocations: 40 kB / 0.8036 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.18e-05/0.6726, allocations: 37.98 kB / 0.8036 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.6739, allocations: 0.8041 MB / 0.8044 GB, free: 13.54 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004964/0.6789, allocations: 5.082 MB / 0.8093 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.6801, allocations: 0.711 MB / 0.81 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005311/0.6806, allocations: 350.4 kB / 0.8104 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005606/0.6812, allocations: 327.8 kB / 0.8107 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.6812, allocations: 43.12 kB / 0.8107 GB, free: 6.613 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 1.944e-06/0.6812, allocations: 0 / 0.8107 GB, free: 6.613 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.001746/0.683, allocations: 0.9389 MB / 0.8116 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.683, allocations: 63.97 kB / 0.8117 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009405/0.684, allocations: 0.8802 MB / 0.8126 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/0.684, allocations: 41.7 kB / 0.8126 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003604/0.6844, allocations: 0.5507 MB / 0.8131 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.6846, allocations: 252.3 kB / 0.8134 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9e-05/0.6847, allocations: 65.69 kB / 0.8134 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.6848, allocations: 341.9 kB / 0.8138 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/0.6853, allocations: 253.9 kB / 0.814 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005541/0.6858, allocations: 443 kB / 0.8144 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.6869, allocations: 0.7094 MB / 0.8151 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.6869, allocations: 0 / 0.8151 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001296/0.6882, allocations: 0.8393 MB / 0.8159 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.6883, allocations: 229.5 kB / 0.8162 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.6883, allocations: 4 kB / 0.8162 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.6884, allocations: 12 kB / 0.8162 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/0.6898, allocations: 243.7 kB / 0.8164 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3104/1, allocations: 1.387 MB / 0.8178 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/1.001, allocations: 113.7 kB / 0.8179 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-05/1.001, allocations: 32.83 kB / 0.8179 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/1.001, allocations: 4.25 kB / 0.8179 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001383/1.003, allocations: 0.7103 MB / 0.8186 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/1.003, allocations: 7.125 kB / 0.8186 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/1.003, allocations: 9.094 kB / 0.8186 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/1.004, allocations: 252.6 kB / 0.8189 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000947/1.005, allocations: 1.391 MB / 0.8202 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008369/1.006, allocations: 112.2 kB / 0.8203 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.85e-05/1.006, allocations: 32.31 kB / 0.8204 GB, free: 25.7 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004866/1.007, allocations: 370.7 kB / 0.8207 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/1.007, allocations: 116.5 kB / 0.8208 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/1.009, allocations: 0.7924 MB / 0.8216 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/1.009, allocations: 11.12 kB / 0.8216 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/1.009, allocations: 1.031 kB / 0.8216 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001286/1.01, allocations: 0.7035 MB / 0.8223 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003172/1.013, allocations: 1.929 MB / 0.8242 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.013, allocations: 1.812 kB / 0.8242 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006998/1.014, allocations: 141.3 kB / 0.8243 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004001/1.014, allocations: 53.94 kB / 0.8244 GB, free: 24.89 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.74e-05/1.014, allocations: 19.64 kB / 0.8244 GB, free: 24.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009325/1.015, allocations: 1.352 MB / 0.8257 GB, free: 23.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.015, allocations: 3.219 kB / 0.8257 GB, free: 23.62 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/1.017, allocations: 1.259 MB / 0.8269 GB, free: 23.39 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/1.017, allocations: 252.3 kB / 0.8272 GB, free: 23.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/1.018, allocations: 27.56 kB / 0.8272 GB, free: 23.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006041/1.018, allocations: 56.97 kB / 0.8273 GB, free: 23.23 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.692e-05/1.018, allocations: 51.16 kB / 0.8273 GB, free: 23.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/1.018, allocations: 23.08 kB / 0.8273 GB, free: 23.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006877/1.019, allocations: 0.5983 MB / 0.8279 GB, free: 23.11 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/1.019, allocations: 0 / 0.8279 GB, free: 23.11 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001331/1.02, allocations: 0.5292 MB / 0.8284 GB, free: 23.03 MB / 0.6387 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002379/1.023, allocations: 1.909 MB / 0.8303 GB, free: 22.21 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003276/1.026, allocations: 1.188 MB / 0.8315 GB, free: 22.18 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.026, allocations: 4.219 kB / 0.8315 GB, free: 22.18 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006764/1.027, allocations: 446.2 kB / 0.8319 GB, free: 22.07 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/1.029, allocations: 0.506 MB / 0.8324 GB, free: 22.04 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/1.04, allocations: 9.006 MB / 0.8412 GB, free: 18.11 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/1.04, allocations: 1.149 MB / 0.8423 GB, free: 17.39 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009333/1.041, allocations: 269.2 kB / 0.8426 GB, free: 17.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004516/1.042, allocations: 454.3 kB / 0.843 GB, free: 17.34 MB / 0.6387 GB Notification: Performance of SimCode: time 4.6e-07/1.042, allocations: 4 kB / 0.843 GB, free: 17.34 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7194/1.761, allocations: 25.99 MB / 0.8684 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/1.761, allocations: 273 kB / 0.8686 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.756/4.518, allocations: 0 / 0.8686 GB, free: 12.37 MB / 0.6387 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/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)