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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001925/0.001925, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.548/2.548, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.979/1.979, allocations: 135.2 MB / 426.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005835/0.0005838, allocations: 8 kB / 0.5069 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3053, allocations: 82.32 MB / 0.5873 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.9832/1.289, allocations: 164.8 MB / 0.7483 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02527/1.314, allocations: 9.337 MB / 0.7574 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003527/1.317, allocations: 47.69 kB / 0.7574 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003339/1.321, allocations: 0.5208 MB / 0.7579 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01053/1.331, allocations: 1.717 MB / 0.7596 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01341/1.345, allocations: 1.367 MB / 0.7609 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006802/1.352, allocations: 1.661 MB / 0.7626 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002873/1.355, allocations: 0.8749 MB / 0.7634 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005208/1.36, allocations: 1.187 MB / 0.7646 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002557/1.363, allocations: 0.6456 MB / 0.7652 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005626/1.363, allocations: 48 kB / 0.7653 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006261/1.369, allocations: 1.049 MB / 0.7663 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001167/1.371, allocations: 318.9 kB / 0.7666 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00106/1.372, allocations: 273 kB / 0.7668 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004892/1.377, allocations: 1.516 MB / 0.7683 GB, free: 3 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/1.377, allocations: 4 kB / 0.7683 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.481e-06/1.377, allocations: 3.938 kB / 0.7683 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.975e-05/1.377, allocations: 0 / 0.7683 GB, free: 2.992 MB / 0.5762 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.006591/1.384, allocations: 1.536 MB / 0.7698 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.538e-05/1.384, allocations: 11.97 kB / 0.7698 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007102/1.384, allocations: 156.3 kB / 0.77 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005391/1.39, allocations: 373.8 kB / 0.7704 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004449/1.394, allocations: 0.8864 MB / 0.7712 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/1.395, allocations: 77.98 kB / 0.7713 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005186/1.395, allocations: 108 kB / 0.7714 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004633/1.4, allocations: 1.084 MB / 0.7725 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.535e-05/1.4, allocations: 3.938 kB / 0.7725 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002064/1.4, allocations: 40 kB / 0.7725 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.664e-05/1.4, allocations: 38 kB / 0.7725 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002956/1.403, allocations: 0.8002 MB / 0.7733 GB, free: 13.73 MB / 0.5919 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.0116/1.415, allocations: 5.066 MB / 0.7783 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/1.417, allocations: 0.7146 MB / 0.779 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007681/1.418, allocations: 145.6 kB / 0.7791 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.222e-05/1.418, allocations: 43.12 kB / 0.7791 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 1.146e-05/1.418, allocations: 0 / 0.7791 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.003935/1.422, allocations: 0.9429 MB / 0.7801 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/1.422, allocations: 55.97 kB / 0.7801 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/1.425, allocations: 0.8686 MB / 0.781 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001702/1.425, allocations: 37.7 kB / 0.781 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008816/1.426, allocations: 0.5624 MB / 0.7815 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004758/1.426, allocations: 248.4 kB / 0.7818 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.765e-05/1.427, allocations: 16 kB / 0.7818 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000206/1.427, allocations: 334 kB / 0.7821 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/1.428, allocations: 245.9 kB / 0.7824 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/1.429, allocations: 439 kB / 0.7828 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/1.43, allocations: 315 kB / 0.7831 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/1.431, allocations: 0 / 0.7831 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003234/1.434, allocations: 0.8277 MB / 0.7839 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.00121/1.435, allocations: 1.837 MB / 0.7857 GB, free: 424 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/1.435, allocations: 4 kB / 0.7857 GB, free: 420 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.611e-05/1.435, allocations: 12.56 kB / 0.7857 GB, free: 408 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002758/1.438, allocations: 255.7 kB / 0.7859 GB, free: 152 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/1.44, allocations: 1.397 MB / 0.7873 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/1.443, allocations: 113.5 kB / 0.7874 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/1.443, allocations: 28 kB / 0.7874 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/1.443, allocations: 4 kB / 0.7874 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002754/1.446, allocations: 0.7099 MB / 0.7881 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/1.446, allocations: 4.625 kB / 0.7881 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/1.446, allocations: 16 kB / 0.7881 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003778/1.45, allocations: 247.7 kB / 0.7884 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/1.452, allocations: 1.397 MB / 0.7897 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/1.454, allocations: 110.2 kB / 0.7899 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002348/1.454, allocations: 32 kB / 0.7899 GB, free: 11.84 MB / 0.6075 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 (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.001245/1.456, allocations: 376.8 kB / 0.7902 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000577/1.456, allocations: 110.6 kB / 0.7903 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003667/1.46, allocations: 0.7882 MB / 0.7911 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/1.46, allocations: 7.953 kB / 0.7911 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.46, allocations: 0 / 0.7911 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002819/1.463, allocations: 0.7078 MB / 0.7918 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007962/1.471, allocations: 1.926 MB / 0.7937 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/1.471, allocations: 0 / 0.7937 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/1.473, allocations: 147.8 kB / 0.7938 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000813/1.473, allocations: 45.05 kB / 0.7939 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001398/1.474, allocations: 23.98 kB / 0.7939 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002578/1.476, allocations: 1.357 MB / 0.7952 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.453e-06/1.476, allocations: 3.312 kB / 0.7952 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004936/1.481, allocations: 1.337 MB / 0.7965 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/1.482, allocations: 251.6 kB / 0.7968 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004088/1.483, allocations: 23.95 kB / 0.7968 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/1.485, allocations: 67.77 kB / 0.7969 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/1.485, allocations: 40.45 kB / 0.7969 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/1.485, allocations: 27.98 kB / 0.7969 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001944/1.487, allocations: 0.5889 MB / 0.7975 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.81e-07/1.487, allocations: 0 / 0.7975 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00329/1.49, allocations: 0.5297 MB / 0.798 GB, free: 3.121 MB / 0.6075 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 (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.006268/1.497, allocations: 2.474 MB / 0.8004 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007194/1.504, allocations: 1.182 MB / 0.8016 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/1.504, allocations: 0 / 0.8016 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001683/1.506, allocations: 449.9 kB / 0.802 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005585/1.511, allocations: 0.4932 MB / 0.8025 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02814/1.539, allocations: 9.559 MB / 0.8118 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002033/1.542, allocations: 1.167 MB / 0.813 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002881/1.545, allocations: 272.8 kB / 0.8132 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/1.546, allocations: 459.3 kB / 0.8137 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of SimCode: time 2.735e-06/1.546, allocations: 4 kB / 0.8137 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.32/3.866, allocations: 26.72 MB / 0.8398 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003761/3.866, allocations: 248 kB / 0.84 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.263/9.129, allocations: 0 / 0.84 GB, free: 8.02 MB / 0.6544 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) Environment - environmentSimulation: