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.001409/0.001408, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001616/0.001616, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.48/1.48, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9888/0.9888, allocations: 135.1 MB / 425.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 60.34 kB / 0.5047 GB, free: 5.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1642, allocations: 80.93 MB / 0.5837 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.5481/0.7123, allocations: 196.6 MB / 0.7757 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01816/0.7305, allocations: 10.44 MB / 0.7858 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0029/0.7335, allocations: 51.69 kB / 0.7859 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00227/0.7358, allocations: 481.1 kB / 0.7864 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006653/0.7425, allocations: 1.84 MB / 0.7882 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004136/0.7467, allocations: 1.236 MB / 0.7894 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005005/0.7517, allocations: 3.668 MB / 0.7929 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/0.7534, allocations: 1.022 MB / 0.7939 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0045/0.7579, allocations: 1.507 MB / 0.7954 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.7598, allocations: 0.9801 MB / 0.7964 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.76, allocations: 68 kB / 0.7964 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004767/0.7648, allocations: 2.393 MB / 0.7988 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005047/0.7654, allocations: 382.6 kB / 0.7991 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009145/0.7663, allocations: 0.6526 MB / 0.7998 GB, free: 100 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004151/0.7704, allocations: 2.528 MB / 0.8022 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7705, allocations: 4 kB / 0.8022 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.615e-06/0.7705, allocations: 0 / 0.8022 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.186e-05/0.7705, allocations: 3.938 kB / 0.8022 GB, free: 13.55 MB / 0.6231 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.003189/0.7737, allocations: 1.818 MB / 0.804 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.7738, allocations: 8.031 kB / 0.804 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002282/0.7761, allocations: 369.8 kB / 0.8044 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.7776, allocations: 0.9206 MB / 0.8053 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.939e-05/0.7777, allocations: 74 kB / 0.8054 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.7779, allocations: 100 kB / 0.8054 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.7797, allocations: 1.111 MB / 0.8065 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.7798, allocations: 7.984 kB / 0.8065 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-05/0.7799, allocations: 40 kB / 0.8066 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.857e-05/0.7799, allocations: 38 kB / 0.8066 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.7814, allocations: 0.8002 MB / 0.8074 GB, free: 8.125 MB / 0.6231 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.00642/0.7878, allocations: 5.07 MB / 0.8123 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.7892, allocations: 0.7066 MB / 0.813 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005682/0.7898, allocations: 346.4 kB / 0.8134 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006628/0.7904, allocations: 319.9 kB / 0.8137 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.7905, allocations: 43.69 kB / 0.8137 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.675e-06/0.7905, allocations: 3.938 kB / 0.8137 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.002006/0.7925, allocations: 0.935 MB / 0.8146 GB, free: 292 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.7926, allocations: 59.97 kB / 0.8147 GB, free: 220 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.7937, allocations: 0.8802 MB / 0.8155 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.7937, allocations: 37.7 kB / 0.8156 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005284/0.7943, allocations: 0.5584 MB / 0.8161 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.7945, allocations: 256.3 kB / 0.8164 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/0.7948, allocations: 142.6 kB / 0.8165 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.7949, allocations: 333.9 kB / 0.8168 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/0.7954, allocations: 256.7 kB / 0.8171 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006113/0.796, allocations: 453.7 kB / 0.8175 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.7973, allocations: 0.7093 MB / 0.8182 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.7973, allocations: 4 kB / 0.8182 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001897/0.7992, allocations: 0.8358 MB / 0.819 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/0.7993, allocations: 8 kB / 0.819 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.7993, allocations: 4 kB / 0.819 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.255e-05/0.7993, allocations: 8 kB / 0.819 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/0.8011, allocations: 259.8 kB / 0.8193 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/0.8031, allocations: 1.397 MB / 0.8206 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.8043, allocations: 118.2 kB / 0.8208 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-05/0.8044, allocations: 28 kB / 0.8208 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009504/0.8054, allocations: 482 kB / 0.8212 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005951/0.806, allocations: 451 kB / 0.8217 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001065/0.8071, allocations: 0.7015 MB / 0.8224 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.569e-06/0.8071, allocations: 0 / 0.8224 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001511/0.8086, allocations: 0.8355 MB / 0.8232 GB, free: 7.055 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.8086, allocations: 8 kB / 0.8232 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.8086, allocations: 7.984 kB / 0.8232 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.8087, allocations: 8 kB / 0.8232 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.8102, allocations: 256 kB / 0.8234 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.8115, allocations: 1.397 MB / 0.8248 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.8125, allocations: 95.48 kB / 0.8249 GB, free: 5.152 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.929e-05/0.8126, allocations: 28 kB / 0.8249 GB, free: 5.125 MB / 0.6387 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.0002965/0.8129, allocations: 236 kB / 0.8252 GB, free: 4.887 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.8131, allocations: 110.7 kB / 0.8253 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001868/0.815, allocations: 0.7979 MB / 0.826 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.815, allocations: 8 kB / 0.826 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.815, allocations: 0 / 0.826 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001349/0.8164, allocations: 0.7001 MB / 0.8267 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00345/0.8199, allocations: 1.934 MB / 0.8286 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.8199, allocations: 4 kB / 0.8286 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007427/0.8206, allocations: 147.7 kB / 0.8288 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004575/0.8211, allocations: 45.05 kB / 0.8288 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.444e-05/0.8212, allocations: 19.98 kB / 0.8288 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.8225, allocations: 1.344 MB / 0.8301 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/0.8225, allocations: 9.578 kB / 0.8301 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.8247, allocations: 1.258 MB / 0.8314 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004224/0.8251, allocations: 259.4 kB / 0.8316 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.8253, allocations: 16 kB / 0.8316 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006914/0.826, allocations: 55.89 kB / 0.8317 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.8261, allocations: 52.44 kB / 0.8317 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-05/0.8261, allocations: 27.98 kB / 0.8318 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008019/0.8269, allocations: 0.5928 MB / 0.8323 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8269, allocations: 0 / 0.8323 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001546/0.8285, allocations: 0.5335 MB / 0.8329 GB, free: 12.64 MB / 0.6544 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.0005527/0.8291, allocations: 214.4 kB / 0.8331 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003755/0.8328, allocations: 1.201 MB / 0.8342 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.8328, allocations: 0 / 0.8342 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008265/0.8337, allocations: 460 kB / 0.8347 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.8363, allocations: 0.5006 MB / 0.8352 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/0.8407, allocations: 2.654 MB / 0.8378 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007044/0.8414, allocations: 1.144 MB / 0.8389 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001144/0.8425, allocations: 272.8 kB / 0.8391 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.8428, allocations: 83.42 kB / 0.8392 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of SimCode: time 6.72e-07/0.8428, allocations: 0 / 0.8392 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of Templates: time 0.03248/0.8753, allocations: 17 MB / 0.8558 GB, free: 5.312 MB / 0.67 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)