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.001764/0.001765, allocations: 110.1 kB / 16.41 MB, free: 6.492 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.001908/0.001908, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7923/0.7923, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 66.48 kB / 0.582 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1543, allocations: 80.2 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6396/0.7939, allocations: 198.8 MB / 0.8545 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01567/0.8096, allocations: 10.35 MB / 0.8646 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002444/0.8121, allocations: 57.5 kB / 0.8647 GB, free: 3.883 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.814, allocations: 0.5911 MB / 0.8652 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005735/0.8198, allocations: 2.051 MB / 0.8672 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003724/0.8236, allocations: 1.388 MB / 0.8686 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004308/0.8279, allocations: 2.816 MB / 0.8713 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/0.8297, allocations: 1.168 MB / 0.8725 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004557/0.8343, allocations: 1.729 MB / 0.8742 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001785/0.8361, allocations: 0.9629 MB / 0.8751 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002046/0.8363, allocations: 120 kB / 0.8752 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004434/0.8407, allocations: 2.148 MB / 0.8773 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00047/0.8412, allocations: 434.6 kB / 0.8777 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009408/0.8422, allocations: 0.7073 MB / 0.8784 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004597/0.8468, allocations: 2.531 MB / 0.8809 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.8468, allocations: 0 / 0.8809 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8468, allocations: 0 / 0.8809 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.72e-05/0.8468, allocations: 0 / 0.8809 GB, free: 4.02 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.003007/0.8499, allocations: 1.818 MB / 0.8827 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.8499, allocations: 12.03 kB / 0.8827 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.8521, allocations: 365.9 kB / 0.883 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/0.8538, allocations: 0.9752 MB / 0.884 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.696e-05/0.8539, allocations: 78 kB / 0.8841 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.854, allocations: 104 kB / 0.8842 GB, free: 0.5781 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.8559, allocations: 1.111 MB / 0.8852 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.856, allocations: 3.984 kB / 0.8853 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.279e-05/0.8561, allocations: 44 kB / 0.8853 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-05/0.8561, allocations: 34 kB / 0.8853 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.8576, allocations: 0.8079 MB / 0.8861 GB, free: 14.52 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.006394/0.864, allocations: 5.058 MB / 0.8911 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.8654, allocations: 0.7123 MB / 0.8918 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006006/0.866, allocations: 351.1 kB / 0.8921 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006419/0.8666, allocations: 311.8 kB / 0.8924 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.8667, allocations: 43.12 kB / 0.8924 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 3.417e-06/0.8667, allocations: 0 / 0.8924 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.002076/0.8688, allocations: 0.9349 MB / 0.8933 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.8688, allocations: 67.91 kB / 0.8934 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.87, allocations: 0.8763 MB / 0.8943 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.209e-05/0.8701, allocations: 41.7 kB / 0.8943 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004895/0.8706, allocations: 0.5624 MB / 0.8948 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.8709, allocations: 248.3 kB / 0.8951 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.8711, allocations: 142.6 kB / 0.8952 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.8713, allocations: 337.9 kB / 0.8955 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005012/0.8718, allocations: 264.7 kB / 0.8958 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/0.8725, allocations: 443.1 kB / 0.8962 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.8736, allocations: 0.7054 MB / 0.8969 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.8736, allocations: 7.625 kB / 0.8969 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001544/0.8752, allocations: 0.8278 MB / 0.8977 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.8752, allocations: 8 kB / 0.8977 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.8752, allocations: 4 kB / 0.8977 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/0.8753, allocations: 15.97 kB / 0.8977 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.8769, allocations: 264.1 kB / 0.898 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.8784, allocations: 1.491 MB / 0.8995 GB, free: 80 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.8794, allocations: 87.38 kB / 0.8995 GB, free: 15.99 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.8795, allocations: 31.98 kB / 0.8996 GB, free: 15.96 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009386/0.8805, allocations: 477.9 kB / 0.9 GB, free: 15.49 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006323/0.8811, allocations: 447.1 kB / 0.9005 GB, free: 14.98 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001067/0.8822, allocations: 0.7054 MB / 0.9011 GB, free: 14.21 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.14e-06/0.8822, allocations: 4 kB / 0.9011 GB, free: 14.21 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.00154/0.8837, allocations: 0.8276 MB / 0.902 GB, free: 13.37 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.8838, allocations: 6.812 kB / 0.902 GB, free: 13.37 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.8838, allocations: 8 kB / 0.902 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.8838, allocations: 15.94 kB / 0.902 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.8853, allocations: 259.6 kB / 0.9022 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.8867, allocations: 1.489 MB / 0.9037 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000884/0.8876, allocations: 64.3 kB / 0.9037 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.237e-05/0.8877, allocations: 36.02 kB / 0.9038 GB, free: 11.36 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.0002801/0.888, allocations: 232.1 kB / 0.904 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.8882, allocations: 114.6 kB / 0.9041 GB, free: 11.01 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.8899, allocations: 0.7922 MB / 0.9049 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.8899, allocations: 4 kB / 0.9049 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.8899, allocations: 128 / 0.9049 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001295/0.8912, allocations: 0.7117 MB / 0.9056 GB, free: 9.457 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003252/0.8945, allocations: 1.934 MB / 0.9075 GB, free: 7.449 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.8945, allocations: 0 / 0.9075 GB, free: 7.449 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007375/0.8953, allocations: 143.8 kB / 0.9076 GB, free: 7.309 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003399/0.8956, allocations: 49.03 kB / 0.9077 GB, free: 7.258 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/0.8957, allocations: 16 kB / 0.9077 GB, free: 7.242 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.897, allocations: 1.45 MB / 0.9091 GB, free: 5.645 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.897, allocations: 0 / 0.9091 GB, free: 5.645 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.8992, allocations: 1.265 MB / 0.9103 GB, free: 4.336 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003768/0.8995, allocations: 247.6 kB / 0.9106 GB, free: 4.074 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.8997, allocations: 20 kB / 0.9106 GB, free: 4.055 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005508/0.9002, allocations: 19.98 kB / 0.9106 GB, free: 4.035 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.963e-05/0.9003, allocations: 56.38 kB / 0.9106 GB, free: 3.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/0.9004, allocations: 24 kB / 0.9107 GB, free: 3.957 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007983/0.9012, allocations: 0.5928 MB / 0.9113 GB, free: 3.355 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/0.9012, allocations: 0 / 0.9113 GB, free: 3.355 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001438/0.9026, allocations: 0.5335 MB / 0.9118 GB, free: 2.82 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.0005137/0.9032, allocations: 214.5 kB / 0.912 GB, free: 2.609 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003515/0.9067, allocations: 1.213 MB / 0.9132 GB, free: 1.398 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.9067, allocations: 0 / 0.9132 GB, free: 1.398 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008021/0.9075, allocations: 454.4 kB / 0.9136 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002281/0.9098, allocations: 0.5094 MB / 0.9141 GB, free: 468 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.9138, allocations: 2.213 MB / 0.9163 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007426/0.9146, allocations: 1.14 MB / 0.9174 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/0.9149, allocations: 91.42 kB / 0.9175 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of SimCode: time 6.81e-07/0.9149, allocations: 4 kB / 0.9175 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of Templates: time 0.03272/0.9477, allocations: 21.57 MB / 0.9385 GB, free: 7.48 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)