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.005656/0.005656, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001173/0.001173, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7206/0.7206, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 61.84 kB / 0.5813 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1889, allocations: 80.2 MB / 0.6597 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6557/0.8448, allocations: 198.8 MB / 0.8538 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01479/0.8596, allocations: 10.35 MB / 0.8639 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002895/0.8625, allocations: 53.72 kB / 0.864 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.8641, allocations: 0.5734 MB / 0.8646 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005614/0.8698, allocations: 1.974 MB / 0.8665 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003483/0.8733, allocations: 1.379 MB / 0.8678 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002991/0.8763, allocations: 2.809 MB / 0.8706 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.8776, allocations: 1.176 MB / 0.8717 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003381/0.8809, allocations: 1.668 MB / 0.8734 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.8822, allocations: 0.9579 MB / 0.8743 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.8824, allocations: 120 kB / 0.8744 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003477/0.8859, allocations: 2.152 MB / 0.8765 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003215/0.8862, allocations: 429.8 kB / 0.8769 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000649/0.8869, allocations: 0.7052 MB / 0.8776 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003628/0.8905, allocations: 2.544 MB / 0.8801 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8905, allocations: 0 / 0.8801 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8905, allocations: 0 / 0.8801 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.19e-05/0.8905, allocations: 4.188 kB / 0.8801 GB, free: 1.473 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.002448/0.893, allocations: 1.863 MB / 0.8819 GB, free: 472 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.893, allocations: 9.656 kB / 0.8819 GB, free: 472 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/0.8949, allocations: 377 kB / 0.8823 GB, free: 384 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.8963, allocations: 0.9875 MB / 0.8832 GB, free: 0 / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.8963, allocations: 79.39 kB / 0.8833 GB, free: 0 / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.8965, allocations: 103.1 kB / 0.8834 GB, free: 0 / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.898, allocations: 1.105 MB / 0.8845 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/0.898, allocations: 10.97 kB / 0.8845 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.972e-05/0.8981, allocations: 42.19 kB / 0.8846 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/0.8981, allocations: 40.17 kB / 0.8846 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.8994, allocations: 0.8034 MB / 0.8854 GB, free: 15.78 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.005082/0.9045, allocations: 5.072 MB / 0.8903 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.9056, allocations: 0.7116 MB / 0.891 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000497/0.9062, allocations: 358 kB / 0.8914 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005366/0.9067, allocations: 313.8 kB / 0.8917 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.9067, allocations: 40.42 kB / 0.8917 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 1.984e-06/0.9068, allocations: 0.8125 kB / 0.8917 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.001721/0.9085, allocations: 0.9463 MB / 0.8926 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.9085, allocations: 61.47 kB / 0.8927 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000883/0.9094, allocations: 0.8792 MB / 0.8935 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/0.9095, allocations: 41.27 kB / 0.8936 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.9099, allocations: 0.5695 MB / 0.8941 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.9101, allocations: 257.3 kB / 0.8944 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.9103, allocations: 143.2 kB / 0.8945 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.9104, allocations: 337.6 kB / 0.8948 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004247/0.9108, allocations: 256.4 kB / 0.8951 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005521/0.9114, allocations: 445.1 kB / 0.8955 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009784/0.9124, allocations: 0.7079 MB / 0.8962 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.9124, allocations: 1.031 kB / 0.8962 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001215/0.9136, allocations: 0.8398 MB / 0.897 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.9136, allocations: 9.797 kB / 0.897 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.9136, allocations: 14.31 kB / 0.897 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.9137, allocations: 7.344 kB / 0.8971 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.9151, allocations: 256.2 kB / 0.8973 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.9163, allocations: 1.488 MB / 0.8988 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006367/0.917, allocations: 87.41 kB / 0.8988 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/0.917, allocations: 28.34 kB / 0.8989 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006792/0.9177, allocations: 481 kB / 0.8993 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005963/0.9183, allocations: 451.5 kB / 0.8998 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001011/0.9194, allocations: 0.7081 MB / 0.9004 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/0.9194, allocations: 0 / 0.9004 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001251/0.9206, allocations: 0.8406 MB / 0.9013 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.9206, allocations: 7.219 kB / 0.9013 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.9207, allocations: 6.312 kB / 0.9013 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.422e-06/0.9207, allocations: 6.844 kB / 0.9013 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.922, allocations: 263 kB / 0.9015 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.9235, allocations: 1.49 MB / 0.903 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007334/0.9242, allocations: 75.41 kB / 0.9031 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/0.9243, allocations: 37.39 kB / 0.9031 GB, free: 3.914 MB / 0.6544 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.0002563/0.9245, allocations: 234.2 kB / 0.9033 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.9247, allocations: 120.1 kB / 0.9034 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/0.9263, allocations: 0.7882 MB / 0.9042 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.9263, allocations: 7.562 kB / 0.9042 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.9263, allocations: 0 / 0.9042 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001166/0.9275, allocations: 0.707 MB / 0.9049 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003358/0.9309, allocations: 1.929 MB / 0.9068 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.9309, allocations: 6.25 kB / 0.9068 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006871/0.9316, allocations: 151.2 kB / 0.9069 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000306/0.9319, allocations: 33.75 kB / 0.907 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/0.932, allocations: 20.11 kB / 0.907 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/0.9334, allocations: 1.461 MB / 0.9084 GB, free: 15.99 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.9334, allocations: 3.188 kB / 0.9084 GB, free: 15.99 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.9355, allocations: 1.262 MB / 0.9097 GB, free: 15.24 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000417/0.9359, allocations: 263.1 kB / 0.9099 GB, free: 15.02 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.9361, allocations: 17.03 kB / 0.9099 GB, free: 15 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005228/0.9366, allocations: 30.05 kB / 0.9099 GB, free: 14.98 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.59e-05/0.9367, allocations: 42.84 kB / 0.91 GB, free: 14.96 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/0.9367, allocations: 23.73 kB / 0.91 GB, free: 14.96 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008451/0.9376, allocations: 0.5996 MB / 0.9106 GB, free: 14.61 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9376, allocations: 0 / 0.9106 GB, free: 14.61 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001468/0.9391, allocations: 0.5311 MB / 0.9111 GB, free: 14.49 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.0004658/0.9396, allocations: 210.5 kB / 0.9113 GB, free: 14.36 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003516/0.9431, allocations: 1.215 MB / 0.9125 GB, free: 13.65 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.9431, allocations: 0 / 0.9125 GB, free: 13.65 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007919/0.9439, allocations: 453.5 kB / 0.9129 GB, free: 13.21 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.9461, allocations: 0.5159 MB / 0.9134 GB, free: 12.71 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/0.9496, allocations: 2.213 MB / 0.9156 GB, free: 10.47 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/0.9503, allocations: 1.14 MB / 0.9167 GB, free: 9.301 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009593/0.9513, allocations: 280.8 kB / 0.917 GB, free: 9.023 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.9515, allocations: 75.44 kB / 0.9171 GB, free: 8.949 MB / 0.67 GB Notification: Performance of SimCode: time 7.01e-07/0.9515, allocations: 0 / 0.9171 GB, free: 8.949 MB / 0.67 GB Notification: Performance of Templates: time 0.02774/0.9792, allocations: 17.82 MB / 0.9345 GB, free: 7.453 MB / 0.6856 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)