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: translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0083/0.0083, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002038/0.002038, allocations: 193 kB / 16.67 MB, free: 5.52 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8381/0.8381, allocations: 132.2 MB / 422.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 69.42 kB / 0.5813 GB, free: 23.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1879, allocations: 80.2 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6806/0.8686, allocations: 198.8 MB / 0.8538 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01696/0.8856, allocations: 10.35 MB / 0.8639 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/0.888, allocations: 57.38 kB / 0.864 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002086/0.8901, allocations: 0.5793 MB / 0.8646 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00609/0.8963, allocations: 2.059 MB / 0.8666 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004114/0.9004, allocations: 1.391 MB / 0.8679 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004251/0.9047, allocations: 2.816 MB / 0.8707 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002237/0.9069, allocations: 1.172 MB / 0.8718 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005031/0.912, allocations: 1.724 MB / 0.8735 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002019/0.914, allocations: 0.9698 MB / 0.8745 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004229/0.9145, allocations: 116 kB / 0.8746 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004859/0.9193, allocations: 2.159 MB / 0.8767 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007325/0.9201, allocations: 426.7 kB / 0.8771 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001513/0.9216, allocations: 0.7073 MB / 0.8778 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005531/0.9271, allocations: 2.524 MB / 0.8802 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.9271, allocations: 3.984 kB / 0.8802 GB, free: 3.988 MB / 0.6387 GB Notification: Performance of FrontEnd: time 8.82e-07/0.9272, allocations: 0 / 0.8802 GB, free: 3.988 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.573e-05/0.9272, allocations: 0 / 0.8802 GB, free: 3.988 MB / 0.6387 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.003562/0.9308, allocations: 1.829 MB / 0.882 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.9309, allocations: 8.031 kB / 0.882 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002095/0.933, allocations: 365.9 kB / 0.8824 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.9347, allocations: 0.9753 MB / 0.8833 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/0.9347, allocations: 74 kB / 0.8834 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.9349, allocations: 104 kB / 0.8835 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.9366, allocations: 1.107 MB / 0.8846 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.9366, allocations: 7.938 kB / 0.8846 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.969e-05/0.9367, allocations: 44 kB / 0.8846 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/0.9367, allocations: 38 kB / 0.8847 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.9381, allocations: 0.8041 MB / 0.8855 GB, free: 14.48 MB / 0.6544 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.005721/0.9438, allocations: 5.055 MB / 0.8904 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.9452, allocations: 0.7123 MB / 0.8911 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005482/0.9457, allocations: 354.4 kB / 0.8914 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006515/0.9464, allocations: 311.8 kB / 0.8917 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.9464, allocations: 39.12 kB / 0.8918 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.425e-06/0.9464, allocations: 0 / 0.8918 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.001969/0.9484, allocations: 0.9388 MB / 0.8927 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.9485, allocations: 63.91 kB / 0.8927 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009831/0.9495, allocations: 0.8841 MB / 0.8936 GB, free: 5.676 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/0.9495, allocations: 41.7 kB / 0.8936 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004192/0.9499, allocations: 0.5585 MB / 0.8942 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.9502, allocations: 256.3 kB / 0.8944 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002926/0.9505, allocations: 138.6 kB / 0.8946 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.9506, allocations: 337.9 kB / 0.8949 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004566/0.9511, allocations: 256.7 kB / 0.8951 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006481/0.9518, allocations: 451 kB / 0.8956 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.9528, allocations: 0.7015 MB / 0.8963 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.9528, allocations: 0 / 0.8963 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00136/0.9542, allocations: 0.8355 MB / 0.8971 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.9542, allocations: 12.09 kB / 0.8971 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.9543, allocations: 4 kB / 0.8971 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.9543, allocations: 8 kB / 0.8971 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.9558, allocations: 263.6 kB / 0.8973 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.9575, allocations: 1.489 MB / 0.8988 GB, free: 48 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007346/0.9583, allocations: 83.09 kB / 0.8989 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/0.9583, allocations: 32 kB / 0.8989 GB, free: 15.93 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007917/0.9591, allocations: 479.6 kB / 0.8994 GB, free: 15.46 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005552/0.9597, allocations: 443.1 kB / 0.8998 GB, free: 14.96 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001006/0.9607, allocations: 0.7093 MB / 0.9005 GB, free: 14.19 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.9607, allocations: 0 / 0.9005 GB, free: 14.19 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.00133/0.9621, allocations: 0.8354 MB / 0.9013 GB, free: 13.34 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.9621, allocations: 10.03 kB / 0.9013 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.9621, allocations: 4 kB / 0.9013 GB, free: 13.33 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.9621, allocations: 11.94 kB / 0.9013 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/0.9636, allocations: 268.1 kB / 0.9016 GB, free: 13.06 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.965, allocations: 1.489 MB / 0.903 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007608/0.9657, allocations: 72.22 kB / 0.9031 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/0.9658, allocations: 28 kB / 0.9031 GB, free: 11.32 MB / 0.67 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.0003061/0.9661, allocations: 228 kB / 0.9033 GB, free: 11.09 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.9663, allocations: 114.6 kB / 0.9035 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.9681, allocations: 0.7874 MB / 0.9042 GB, free: 10.18 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.9681, allocations: 8 kB / 0.9042 GB, free: 10.18 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.9681, allocations: 0 / 0.9042 GB, free: 10.18 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00127/0.9694, allocations: 0.7118 MB / 0.9049 GB, free: 9.43 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00343/0.9728, allocations: 1.934 MB / 0.9068 GB, free: 7.422 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.9728, allocations: 4 kB / 0.9068 GB, free: 7.418 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007176/0.9736, allocations: 144.1 kB / 0.907 GB, free: 7.277 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003747/0.9739, allocations: 40.77 kB / 0.907 GB, free: 7.234 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.427e-05/0.974, allocations: 16 kB / 0.907 GB, free: 7.219 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.9757, allocations: 1.462 MB / 0.9084 GB, free: 5.609 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.9758, allocations: 4 kB / 0.9084 GB, free: 5.605 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.9779, allocations: 1.258 MB / 0.9097 GB, free: 4.305 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003937/0.9783, allocations: 255.6 kB / 0.9099 GB, free: 4.035 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.837e-05/0.9784, allocations: 16 kB / 0.9099 GB, free: 4.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005207/0.9789, allocations: 27.89 kB / 0.91 GB, free: 3.992 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-05/0.979, allocations: 48.38 kB / 0.91 GB, free: 3.945 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-05/0.9791, allocations: 27.98 kB / 0.91 GB, free: 3.918 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009889/0.9801, allocations: 0.5928 MB / 0.9106 GB, free: 3.316 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9801, allocations: 0 / 0.9106 GB, free: 3.316 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00154/0.9816, allocations: 0.5336 MB / 0.9111 GB, free: 2.781 MB / 0.67 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.0004912/0.9821, allocations: 210.9 kB / 0.9113 GB, free: 2.57 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003582/0.9857, allocations: 1.213 MB / 0.9125 GB, free: 1.359 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.9858, allocations: 0 / 0.9125 GB, free: 1.359 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008054/0.9866, allocations: 454.8 kB / 0.9129 GB, free: 0.9023 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/0.9887, allocations: 0.5152 MB / 0.9134 GB, free: 420 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/0.9925, allocations: 2.162 MB / 0.9156 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007914/0.9933, allocations: 1.14 MB / 0.9167 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008881/0.9942, allocations: 272.8 kB / 0.9169 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/0.9944, allocations: 79.42 kB / 0.917 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of SimCode: time 1.002e-06/0.9944, allocations: 0 / 0.917 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of Templates: time 0.03268/1.027, allocations: 17.82 MB / 0.9344 GB, free: 11.09 MB / 0.7012 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (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 & ./IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)