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.00155/0.001551, allocations: 107 kB / 15.99 MB, free: 6.352 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.001736/0.001736, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.405/1.405, allocations: 222.9 MB / 240.6 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8051/0.8051, allocations: 135.1 MB / 425.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 59.91 kB / 0.5055 GB, free: 8.699 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4187, allocations: 80.92 MB / 0.5845 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6116/1.03, allocations: 196.3 MB / 0.7762 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01468/1.045, allocations: 10.27 MB / 0.7862 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/1.047, allocations: 54.06 kB / 0.7863 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001661/1.049, allocations: 0.4912 MB / 0.7867 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005742/1.055, allocations: 1.839 MB / 0.7885 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003715/1.059, allocations: 1.251 MB / 0.7898 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004147/1.063, allocations: 2.816 MB / 0.7925 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001771/1.065, allocations: 1.142 MB / 0.7936 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005065/1.07, allocations: 1.66 MB / 0.7952 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002415/1.072, allocations: 1.004 MB / 0.7962 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002788/1.072, allocations: 120.2 kB / 0.7963 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004777/1.077, allocations: 2.219 MB / 0.7985 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005492/1.078, allocations: 435.3 kB / 0.7989 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001082/1.079, allocations: 0.705 MB / 0.7996 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003381/1.082, allocations: 1.844 MB / 0.8014 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.082, allocations: 3.312 kB / 0.8014 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/1.082, allocations: 0.7812 kB / 0.8014 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.958e-05/1.082, allocations: 0 / 0.8014 GB, free: 0.7656 MB / 0.5762 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.003101/1.085, allocations: 1.821 MB / 0.8032 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/1.086, allocations: 11.86 kB / 0.8032 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002213/1.088, allocations: 369.8 kB / 0.8036 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/1.089, allocations: 0.9237 MB / 0.8045 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.69e-05/1.089, allocations: 77.19 kB / 0.8045 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/1.09, allocations: 101.3 kB / 0.8046 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/1.091, allocations: 1.104 MB / 0.8057 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/1.091, allocations: 3.5 kB / 0.8057 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.223e-05/1.092, allocations: 43.41 kB / 0.8057 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-05/1.092, allocations: 35.91 kB / 0.8058 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/1.093, allocations: 0.8055 MB / 0.8066 GB, free: 15.14 MB / 0.5919 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.006762/1.1, allocations: 5.061 MB / 0.8115 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/1.101, allocations: 0.7107 MB / 0.8122 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005132/1.102, allocations: 355.7 kB / 0.8125 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006176/1.102, allocations: 316.6 kB / 0.8128 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/1.102, allocations: 39.44 kB / 0.8129 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.394e-06/1.102, allocations: 0 / 0.8129 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.001955/1.104, allocations: 0.9413 MB / 0.8138 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/1.104, allocations: 64.05 kB / 0.8139 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/1.105, allocations: 0.8719 MB / 0.8147 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-05/1.105, allocations: 43.48 kB / 0.8148 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005088/1.106, allocations: 0.5598 MB / 0.8153 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/1.106, allocations: 253.9 kB / 0.8155 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/1.106, allocations: 137.6 kB / 0.8157 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.107, allocations: 336.9 kB / 0.816 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004705/1.107, allocations: 258.9 kB / 0.8162 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006483/1.108, allocations: 451.4 kB / 0.8167 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/1.109, allocations: 0.7103 MB / 0.8174 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/1.109, allocations: 0 / 0.8174 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001346/1.11, allocations: 0.8397 MB / 0.8182 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/1.11, allocations: 10.38 kB / 0.8182 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.11, allocations: 6.531 kB / 0.8182 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/1.11, allocations: 14.28 kB / 0.8182 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/1.112, allocations: 257.4 kB / 0.8185 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/1.113, allocations: 1.494 MB / 0.8199 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009563/1.114, allocations: 112.1 kB / 0.82 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.521e-05/1.114, allocations: 33.06 kB / 0.8201 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008308/1.115, allocations: 473.8 kB / 0.8205 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005761/1.116, allocations: 454.4 kB / 0.8209 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001058/1.117, allocations: 0.7008 MB / 0.8216 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.881e-06/1.117, allocations: 4 kB / 0.8216 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001389/1.118, allocations: 0.8357 MB / 0.8225 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/1.118, allocations: 6.562 kB / 0.8225 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.046e-06/1.118, allocations: 6.297 kB / 0.8225 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/1.118, allocations: 12.5 kB / 0.8225 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/1.12, allocations: 261.2 kB / 0.8227 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/1.121, allocations: 1.491 MB / 0.8242 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009717/1.122, allocations: 97.11 kB / 0.8243 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/1.123, allocations: 35.86 kB / 0.8243 GB, free: 6.555 MB / 0.5919 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.0002917/1.123, allocations: 235.3 kB / 0.8245 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/1.123, allocations: 108 kB / 0.8246 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/1.125, allocations: 0.7891 MB / 0.8254 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/1.125, allocations: 11.67 kB / 0.8254 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/1.125, allocations: 4 kB / 0.8254 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001267/1.126, allocations: 0.7044 MB / 0.8261 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003502/1.13, allocations: 1.932 MB / 0.828 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.13, allocations: 3.062 kB / 0.828 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006983/1.13, allocations: 145.1 kB / 0.8281 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003528/1.131, allocations: 39.62 kB / 0.8282 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.552e-05/1.131, allocations: 20.44 kB / 0.8282 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/1.132, allocations: 1.456 MB / 0.8296 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.132, allocations: 2.406 kB / 0.8296 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/1.135, allocations: 1.259 MB / 0.8308 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004815/1.135, allocations: 252.1 kB / 0.8311 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/1.135, allocations: 19.03 kB / 0.8311 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006775/1.136, allocations: 63.12 kB / 0.8312 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/1.136, allocations: 43.03 kB / 0.8312 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/1.136, allocations: 26.69 kB / 0.8312 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000828/1.137, allocations: 0.6017 MB / 0.8318 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/1.137, allocations: 0 / 0.8318 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00148/1.138, allocations: 0.5302 MB / 0.8323 GB, free: 1.836 MB / 0.5919 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.0005425/1.139, allocations: 210.8 kB / 0.8325 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003814/1.143, allocations: 1.292 MB / 0.8338 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.143, allocations: 0 / 0.8338 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007809/1.144, allocations: 457.8 kB / 0.8342 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/1.146, allocations: 0.5181 MB / 0.8347 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004224/1.15, allocations: 2.699 MB / 0.8374 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007551/1.151, allocations: 1.147 MB / 0.8385 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/1.151, allocations: 87.42 kB / 0.8386 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/1.151, allocations: 0 / 0.8386 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of Templates: time 0.03114/1.182, allocations: 21.43 MB / 0.8595 GB, free: 7.375 MB / 0.6231 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)