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.001245/0.001245, allocations: 100.3 kB / 16.4 MB, free: 6.504 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.001268/0.001268, allocations: 185.6 kB / 17.34 MB, free: 5.77 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.244/1.244, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7432/0.7432, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 68.58 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.146, allocations: 80.92 MB / 0.6653 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.4946/0.6406, allocations: 198.8 MB / 0.8595 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01379/0.6545, allocations: 10.35 MB / 0.8696 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001908/0.6564, allocations: 59.69 kB / 0.8696 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001867/0.6583, allocations: 0.5701 MB / 0.8702 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005477/0.6638, allocations: 1.979 MB / 0.8721 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003817/0.6677, allocations: 1.368 MB / 0.8735 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003875/0.6716, allocations: 2.824 MB / 0.8762 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.6735, allocations: 1.16 MB / 0.8774 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004215/0.6777, allocations: 1.667 MB / 0.879 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001857/0.6796, allocations: 0.9587 MB / 0.8799 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003359/0.6799, allocations: 120 kB / 0.88 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004232/0.6841, allocations: 2.148 MB / 0.8821 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006216/0.6848, allocations: 426.7 kB / 0.8825 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.6859, allocations: 0.715 MB / 0.8832 GB, free: 84 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004653/0.6906, allocations: 2.524 MB / 0.8857 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.6906, allocations: 4 kB / 0.8857 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6906, allocations: 4 kB / 0.8857 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.601e-05/0.6907, allocations: 0 / 0.8857 GB, free: 13.54 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.003527/0.6942, allocations: 1.814 MB / 0.8875 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.6942, allocations: 9.109 kB / 0.8875 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/0.6964, allocations: 365.9 kB / 0.8878 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.6982, allocations: 0.9714 MB / 0.8888 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.357e-05/0.6983, allocations: 78 kB / 0.8889 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.6984, allocations: 108 kB / 0.889 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.7002, allocations: 1.107 MB / 0.89 GB, free: 8.941 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.7002, allocations: 0 / 0.89 GB, free: 8.941 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.849e-05/0.7003, allocations: 47.94 kB / 0.8901 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.356e-05/0.7004, allocations: 34 kB / 0.8901 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.7019, allocations: 0.8118 MB / 0.8909 GB, free: 8.047 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.005786/0.7077, allocations: 5.062 MB / 0.8959 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.7089, allocations: 0.7153 MB / 0.8966 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/0.7094, allocations: 358.3 kB / 0.8969 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005674/0.71, allocations: 311.8 kB / 0.8972 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.7101, allocations: 43.11 kB / 0.8972 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.345e-06/0.7101, allocations: 0 / 0.8972 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.001869/0.7119, allocations: 0.9349 MB / 0.8981 GB, free: 208 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.712, allocations: 59.97 kB / 0.8982 GB, free: 136 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.713, allocations: 0.8802 MB / 0.8991 GB, free: 15.23 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.56e-05/0.7131, allocations: 41.7 kB / 0.8991 GB, free: 15.19 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000377/0.7135, allocations: 0.5586 MB / 0.8996 GB, free: 14.62 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.7137, allocations: 244.3 kB / 0.8999 GB, free: 14.38 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.7139, allocations: 138.6 kB / 0.9 GB, free: 14.24 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.714, allocations: 341.9 kB / 0.9003 GB, free: 13.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004606/0.7145, allocations: 268.6 kB / 0.9006 GB, free: 13.63 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005707/0.7151, allocations: 439.1 kB / 0.901 GB, free: 13.13 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.7161, allocations: 0.7093 MB / 0.9017 GB, free: 12.35 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.7161, allocations: 4 kB / 0.9017 GB, free: 12.35 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001393/0.7175, allocations: 0.8353 MB / 0.9025 GB, free: 11.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.7176, allocations: 4 kB / 0.9025 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.7176, allocations: 8 kB / 0.9025 GB, free: 11.49 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.7176, allocations: 8 kB / 0.9025 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.7191, allocations: 264.9 kB / 0.9028 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.7205, allocations: 1.493 MB / 0.9043 GB, free: 9.594 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007595/0.7213, allocations: 87.11 kB / 0.9043 GB, free: 9.508 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.04e-05/0.7213, allocations: 31.98 kB / 0.9044 GB, free: 9.477 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007671/0.7221, allocations: 481.9 kB / 0.9048 GB, free: 9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005616/0.7227, allocations: 448.3 kB / 0.9053 GB, free: 8.492 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001035/0.7237, allocations: 0.7054 MB / 0.9059 GB, free: 7.727 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.729e-06/0.7238, allocations: 4 kB / 0.906 GB, free: 7.723 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001332/0.7251, allocations: 0.832 MB / 0.9068 GB, free: 6.883 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.7251, allocations: 8.125 kB / 0.9068 GB, free: 6.875 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.7251, allocations: 8 kB / 0.9068 GB, free: 6.867 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/0.7251, allocations: 11.94 kB / 0.9068 GB, free: 6.855 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.7265, allocations: 259.6 kB / 0.907 GB, free: 6.602 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.7277, allocations: 1.48 MB / 0.9085 GB, free: 4.977 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006888/0.7284, allocations: 63.42 kB / 0.9085 GB, free: 4.914 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/0.7285, allocations: 32 kB / 0.9086 GB, free: 4.883 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.0001928/0.7287, allocations: 240 kB / 0.9088 GB, free: 4.641 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.7288, allocations: 110.6 kB / 0.9089 GB, free: 4.531 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.7304, allocations: 0.7874 MB / 0.9097 GB, free: 3.727 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.433e-06/0.7304, allocations: 11.98 kB / 0.9097 GB, free: 3.715 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.7304, allocations: 3.938 kB / 0.9097 GB, free: 3.711 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001195/0.7316, allocations: 0.7117 MB / 0.9104 GB, free: 2.965 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/0.7345, allocations: 1.93 MB / 0.9123 GB, free: 0.957 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.7346, allocations: 0 / 0.9123 GB, free: 0.957 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006764/0.7352, allocations: 147.9 kB / 0.9124 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002963/0.7355, allocations: 45.05 kB / 0.9125 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.515e-05/0.7356, allocations: 15.98 kB / 0.9125 GB, free: 0.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.7368, allocations: 1.458 MB / 0.9139 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7368, allocations: 0 / 0.9139 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.7388, allocations: 1.261 MB / 0.9151 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003374/0.7391, allocations: 247.6 kB / 0.9154 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.7393, allocations: 19.98 kB / 0.9154 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005248/0.7398, allocations: 26.05 kB / 0.9154 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.7399, allocations: 56.38 kB / 0.9155 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.7399, allocations: 20 kB / 0.9155 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006814/0.7406, allocations: 0.5967 MB / 0.9161 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7406, allocations: 0 / 0.9161 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001209/0.7418, allocations: 0.5335 MB / 0.9166 GB, free: 12.32 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.0004676/0.7423, allocations: 223.9 kB / 0.9168 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003263/0.7456, allocations: 1.205 MB / 0.918 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.7456, allocations: 4.062 kB / 0.918 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007015/0.7463, allocations: 450.2 kB / 0.9184 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/0.7484, allocations: 0.5094 MB / 0.9189 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/0.7518, allocations: 2.213 MB / 0.9211 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006451/0.7524, allocations: 1.14 MB / 0.9222 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.7527, allocations: 87.42 kB / 0.9223 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of SimCode: time 4.31e-07/0.7527, allocations: 0 / 0.9223 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of Templates: time 0.02558/0.7783, allocations: 21.44 MB / 0.9432 GB, free: 1.082 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)