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.001187/0.001187, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001111/0.001112, allocations: 187 kB / 17.34 MB, free: 5.719 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8338/0.8338, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 66.41 kB / 0.582 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.163, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6616/0.8247, allocations: 198.8 MB / 0.8545 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0156/0.8404, allocations: 10.36 MB / 0.8646 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.8426, allocations: 54.88 kB / 0.8647 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.8443, allocations: 0.5728 MB / 0.8652 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005311/0.8497, allocations: 1.973 MB / 0.8671 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003696/0.8534, allocations: 1.386 MB / 0.8685 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004135/0.8575, allocations: 2.809 MB / 0.8712 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/0.8593, allocations: 1.169 MB / 0.8724 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004262/0.8635, allocations: 1.693 MB / 0.874 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.8654, allocations: 0.9587 MB / 0.875 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.8656, allocations: 120 kB / 0.8751 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004109/0.8697, allocations: 2.152 MB / 0.8772 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000477/0.8702, allocations: 426.6 kB / 0.8776 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009021/0.8711, allocations: 0.7111 MB / 0.8783 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004409/0.8756, allocations: 2.528 MB / 0.8808 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8756, allocations: 0 / 0.8808 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8756, allocations: 0 / 0.8808 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.343e-05/0.8756, allocations: 0 / 0.8808 GB, free: 4.086 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.002953/0.8786, allocations: 1.82 MB / 0.8825 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.8786, allocations: 12.03 kB / 0.8826 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/0.8808, allocations: 369.8 kB / 0.8829 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.8826, allocations: 0.9791 MB / 0.8839 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/0.8827, allocations: 78.75 kB / 0.8839 GB, free: 0.7383 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.8829, allocations: 100 kB / 0.884 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.8847, allocations: 1.111 MB / 0.8851 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.8847, allocations: 4 kB / 0.8851 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.86e-05/0.8848, allocations: 40 kB / 0.8852 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-05/0.8848, allocations: 34 kB / 0.8852 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.8863, allocations: 0.8119 MB / 0.886 GB, free: 14.58 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.006312/0.8926, allocations: 5.055 MB / 0.8909 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.8939, allocations: 0.7099 MB / 0.8916 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005576/0.8945, allocations: 355 kB / 0.8919 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006101/0.8951, allocations: 311.9 kB / 0.8922 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.8951, allocations: 47.06 kB / 0.8923 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.645e-06/0.8951, allocations: 0 / 0.8923 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.001966/0.8971, allocations: 0.9388 MB / 0.8932 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.8972, allocations: 63.91 kB / 0.8933 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.8983, allocations: 0.8763 MB / 0.8941 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.635e-05/0.8984, allocations: 41.7 kB / 0.8942 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.8988, allocations: 0.5584 MB / 0.8947 GB, free: 5.164 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.899, allocations: 252.3 kB / 0.895 GB, free: 4.914 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.8992, allocations: 142.6 kB / 0.8951 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.8994, allocations: 337.9 kB / 0.8954 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004689/0.8999, allocations: 256.7 kB / 0.8957 GB, free: 4.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005962/0.9005, allocations: 451 kB / 0.8961 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.9015, allocations: 0.7054 MB / 0.8968 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.9016, allocations: 4 kB / 0.8968 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001482/0.903, allocations: 0.8286 MB / 0.8976 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.9031, allocations: 14.48 kB / 0.8976 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.9031, allocations: 4.625 kB / 0.8976 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.9031, allocations: 12 kB / 0.8976 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.9047, allocations: 255.7 kB / 0.8979 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.9062, allocations: 1.493 MB / 0.8993 GB, free: 148 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008604/0.9071, allocations: 87.09 kB / 0.8994 GB, free: 60 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.962e-05/0.9072, allocations: 32 kB / 0.8994 GB, free: 28 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008472/0.908, allocations: 478 kB / 0.8999 GB, free: 15.56 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005813/0.9086, allocations: 451.1 kB / 0.9003 GB, free: 15.05 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001041/0.9097, allocations: 0.7093 MB / 0.901 GB, free: 14.27 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.795e-06/0.9097, allocations: 0 / 0.901 GB, free: 14.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001436/0.9111, allocations: 0.8295 MB / 0.9018 GB, free: 13.44 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.9112, allocations: 8 kB / 0.9018 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.954e-06/0.9112, allocations: 4 kB / 0.9018 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.9112, allocations: 15.92 kB / 0.9018 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.9127, allocations: 252 kB / 0.9021 GB, free: 13.16 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.9141, allocations: 1.492 MB / 0.9035 GB, free: 11.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008182/0.9149, allocations: 67.52 kB / 0.9036 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.219e-05/0.915, allocations: 35.98 kB / 0.9036 GB, free: 11.42 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.0002786/0.9153, allocations: 232 kB / 0.9039 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.9155, allocations: 114.6 kB / 0.904 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/0.9172, allocations: 0.7903 MB / 0.9047 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.9172, allocations: 8 kB / 0.9048 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.9172, allocations: 0 / 0.9048 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001285/0.9185, allocations: 0.7116 MB / 0.9054 GB, free: 9.52 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003253/0.9217, allocations: 1.93 MB / 0.9073 GB, free: 7.516 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.9218, allocations: 0 / 0.9073 GB, free: 7.516 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007429/0.9225, allocations: 144 kB / 0.9075 GB, free: 7.375 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003225/0.9228, allocations: 44.83 kB / 0.9075 GB, free: 7.328 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.705e-05/0.9229, allocations: 16 kB / 0.9075 GB, free: 7.312 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.9243, allocations: 1.454 MB / 0.9089 GB, free: 5.711 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.9243, allocations: 0 / 0.9089 GB, free: 5.711 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002174/0.9264, allocations: 1.265 MB / 0.9102 GB, free: 4.402 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004687/0.9269, allocations: 251.6 kB / 0.9104 GB, free: 4.137 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.9271, allocations: 12 kB / 0.9104 GB, free: 4.125 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005576/0.9276, allocations: 27.89 kB / 0.9105 GB, free: 4.098 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.497e-05/0.9277, allocations: 52.44 kB / 0.9105 GB, free: 4.047 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.9278, allocations: 20 kB / 0.9105 GB, free: 4.027 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007769/0.9285, allocations: 0.6006 MB / 0.9111 GB, free: 3.418 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9286, allocations: 3.938 kB / 0.9111 GB, free: 3.414 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001379/0.9299, allocations: 0.5297 MB / 0.9116 GB, free: 2.883 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.0005457/0.9305, allocations: 218.9 kB / 0.9118 GB, free: 2.668 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003476/0.934, allocations: 1.205 MB / 0.913 GB, free: 1.465 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.934, allocations: 4 kB / 0.913 GB, free: 1.461 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000811/0.9348, allocations: 446.2 kB / 0.9135 GB, free: 1.012 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.937, allocations: 0.5115 MB / 0.914 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.9409, allocations: 2.222 MB / 0.9161 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000712/0.9416, allocations: 1.14 MB / 0.9172 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.9419, allocations: 87.42 kB / 0.9173 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of SimCode: time 5.41e-07/0.9419, allocations: 0 / 0.9173 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of Templates: time 0.03122/0.9732, allocations: 21.57 MB / 0.9384 GB, free: 7.551 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)