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: translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.005259/0.005259, allocations: 101.5 kB / 15.73 MB, free: 6.039 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.001608/0.001608, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7994/0.7994, allocations: 135.1 MB / 425.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 66.61 kB / 0.5856 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1753, allocations: 80.92 MB / 0.6646 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6983/0.8737, allocations: 198.8 MB / 0.8588 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01528/0.889, allocations: 10.35 MB / 0.8689 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003185/0.8922, allocations: 55.69 kB / 0.869 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002377/0.8946, allocations: 0.5858 MB / 0.8695 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005601/0.9003, allocations: 2.045 MB / 0.8715 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003702/0.904, allocations: 1.398 MB / 0.8729 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003694/0.9077, allocations: 2.809 MB / 0.8756 GB, free: 7.145 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.9095, allocations: 1.168 MB / 0.8768 GB, free: 5.941 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004222/0.9138, allocations: 1.72 MB / 0.8785 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.9158, allocations: 0.9701 MB / 0.8794 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003907/0.9162, allocations: 120 kB / 0.8795 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004422/0.9206, allocations: 2.156 MB / 0.8816 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005489/0.9212, allocations: 430.6 kB / 0.882 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.9225, allocations: 0.7073 MB / 0.8827 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005288/0.9278, allocations: 2.524 MB / 0.8852 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9278, allocations: 0 / 0.8852 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9278, allocations: 0 / 0.8852 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.415e-05/0.9279, allocations: 0 / 0.8852 GB, free: 13.32 MB / 0.6544 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.004708/0.9326, allocations: 1.829 MB / 0.887 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.9327, allocations: 9.109 kB / 0.887 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002393/0.9351, allocations: 365.8 kB / 0.8873 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/0.9371, allocations: 0.9714 MB / 0.8883 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.519e-05/0.9372, allocations: 81.98 kB / 0.8884 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.9374, allocations: 100 kB / 0.8885 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/0.9394, allocations: 1.103 MB / 0.8895 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/0.9394, allocations: 11.94 kB / 0.8896 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.096e-05/0.9395, allocations: 39.98 kB / 0.8896 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-05/0.9396, allocations: 42 kB / 0.8896 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.9411, allocations: 0.8002 MB / 0.8904 GB, free: 7.82 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.006486/0.9476, allocations: 5.066 MB / 0.8954 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.9489, allocations: 0.711 MB / 0.8961 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005532/0.9495, allocations: 358.4 kB / 0.8964 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000647/0.9501, allocations: 311.9 kB / 0.8967 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.9502, allocations: 39.12 kB / 0.8967 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 4.078e-06/0.9502, allocations: 4 kB / 0.8967 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.001905/0.9521, allocations: 0.9429 MB / 0.8977 GB, free: 15.97 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.9521, allocations: 59.97 kB / 0.8977 GB, free: 15.9 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.9532, allocations: 0.8802 MB / 0.8986 GB, free: 15 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/0.9533, allocations: 37.7 kB / 0.8986 GB, free: 14.96 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/0.9537, allocations: 0.5546 MB / 0.8992 GB, free: 14.39 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.9539, allocations: 252.3 kB / 0.8994 GB, free: 14.14 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.9541, allocations: 138.6 kB / 0.8995 GB, free: 14 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.9543, allocations: 341.9 kB / 0.8999 GB, free: 13.66 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004821/0.9547, allocations: 252.7 kB / 0.9001 GB, free: 13.41 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005926/0.9553, allocations: 455 kB / 0.9005 GB, free: 12.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.9564, allocations: 0.6976 MB / 0.9012 GB, free: 12.13 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.9564, allocations: 4 kB / 0.9012 GB, free: 12.13 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001392/0.9578, allocations: 0.8357 MB / 0.902 GB, free: 11.29 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.9579, allocations: 8 kB / 0.902 GB, free: 11.28 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.9579, allocations: 4 kB / 0.902 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.9579, allocations: 15.88 kB / 0.9021 GB, free: 11.26 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.9595, allocations: 267.8 kB / 0.9023 GB, free: 11 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.961, allocations: 1.494 MB / 0.9038 GB, free: 9.363 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007123/0.9617, allocations: 83.19 kB / 0.9039 GB, free: 9.281 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/0.9618, allocations: 36 kB / 0.9039 GB, free: 9.246 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007625/0.9625, allocations: 478 kB / 0.9043 GB, free: 8.773 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006435/0.9632, allocations: 446.3 kB / 0.9048 GB, free: 8.27 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001089/0.9643, allocations: 0.7094 MB / 0.9055 GB, free: 7.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.826e-06/0.9643, allocations: 0 / 0.9055 GB, free: 7.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.00133/0.9656, allocations: 0.8237 MB / 0.9063 GB, free: 6.668 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.9657, allocations: 10.81 kB / 0.9063 GB, free: 6.66 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.9657, allocations: 7.984 kB / 0.9063 GB, free: 6.652 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.9657, allocations: 12.69 kB / 0.9063 GB, free: 6.641 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.9672, allocations: 267.7 kB / 0.9065 GB, free: 6.379 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.9685, allocations: 1.484 MB / 0.908 GB, free: 4.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007258/0.9692, allocations: 64.55 kB / 0.9081 GB, free: 4.688 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.026e-05/0.9693, allocations: 31.98 kB / 0.9081 GB, free: 4.656 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.0002204/0.9695, allocations: 232 kB / 0.9083 GB, free: 4.422 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.9697, allocations: 118.6 kB / 0.9084 GB, free: 4.305 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.9714, allocations: 0.7838 MB / 0.9092 GB, free: 3.504 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.9714, allocations: 12 kB / 0.9092 GB, free: 3.492 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.9714, allocations: 3.938 kB / 0.9092 GB, free: 3.488 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001349/0.9728, allocations: 0.7078 MB / 0.9099 GB, free: 2.746 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003307/0.9761, allocations: 1.938 MB / 0.9118 GB, free: 0.7305 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.9761, allocations: 4 kB / 0.9118 GB, free: 0.7266 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007192/0.9769, allocations: 143.8 kB / 0.9119 GB, free: 0.5859 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003163/0.9772, allocations: 36.83 kB / 0.912 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-05/0.9773, allocations: 20 kB / 0.912 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/0.9788, allocations: 1.458 MB / 0.9134 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.9788, allocations: 4 kB / 0.9134 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.981, allocations: 1.261 MB / 0.9146 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/0.9815, allocations: 251.6 kB / 0.9149 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-05/0.9816, allocations: 16 kB / 0.9149 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005216/0.9821, allocations: 23.98 kB / 0.9149 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.385e-05/0.9822, allocations: 48.44 kB / 0.915 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.967e-05/0.9823, allocations: 23.98 kB / 0.915 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008211/0.9831, allocations: 0.5967 MB / 0.9156 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9831, allocations: 0 / 0.9156 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001487/0.9846, allocations: 0.5335 MB / 0.9161 GB, free: 12.1 MB / 0.6856 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.0004999/0.9851, allocations: 220.2 kB / 0.9163 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003641/0.9887, allocations: 1.209 MB / 0.9175 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.9888, allocations: 4 kB / 0.9175 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007485/0.9895, allocations: 454.7 kB / 0.9179 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.9915, allocations: 0.5157 MB / 0.9184 GB, free: 9.711 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/0.9953, allocations: 2.161 MB / 0.9205 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008348/0.9961, allocations: 1.144 MB / 0.9217 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009396/0.9971, allocations: 272.8 kB / 0.9219 GB, free: 6.059 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.9973, allocations: 83.42 kB / 0.922 GB, free: 5.977 MB / 0.6856 GB Notification: Performance of SimCode: time 5.61e-07/0.9973, allocations: 0 / 0.922 GB, free: 5.977 MB / 0.6856 GB Notification: Performance of Templates: time 0.03011/1.027, allocations: 17.81 MB / 0.9394 GB, free: 4.371 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)