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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7426/0.7426, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 404.7 MB, free: 6.129 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009865/0.0009865, allocations: 103.7 kB / 485.9 MB, free: 7.258 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 51.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1392, allocations: 80.43 MB / 0.6421 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.5104/0.6497, allocations: 196.6 MB / 0.8341 GB, free: 12.55 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01389/0.6636, allocations: 10.44 MB / 0.8443 GB, free: 2.082 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.6653, allocations: 51.69 kB / 0.8443 GB, free: 2.031 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.6667, allocations: 485.1 kB / 0.8448 GB, free: 1.555 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.004607/0.6713, allocations: 1.837 MB / 0.8466 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.003217/0.6746, allocations: 1.238 MB / 0.8478 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.004496/0.6791, allocations: 3.678 MB / 0.8514 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.6805, allocations: 1.019 MB / 0.8524 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004289/0.6848, allocations: 1.519 MB / 0.8539 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.6868, allocations: 0.9907 MB / 0.8548 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.687, allocations: 64 kB / 0.8549 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004149/0.6911, allocations: 2.401 MB / 0.8573 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0004246/0.6916, allocations: 374.7 kB / 0.8576 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0008052/0.6924, allocations: 0.6487 MB / 0.8582 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003638/0.696, allocations: 2.535 MB / 0.8607 GB, free: 1.199 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6961, allocations: 0 / 0.8607 GB, free: 1.199 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.52e-07/0.6961, allocations: 8 kB / 0.8607 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.704e-05/0.6961, allocations: 0 / 0.8607 GB, free: 1.191 MB / 0.5886 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.00296/0.6991, allocations: 1.81 MB / 0.8625 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.6991, allocations: 8.031 kB / 0.8625 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.7012, allocations: 369.9 kB / 0.8629 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.7028, allocations: 0.9167 MB / 0.8637 GB, free: 14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.557e-05/0.7029, allocations: 74 kB / 0.8638 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.7031, allocations: 104 kB / 0.8639 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.7048, allocations: 1.111 MB / 0.865 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.7048, allocations: 0 / 0.865 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.782e-05/0.7049, allocations: 44 kB / 0.865 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-05/0.705, allocations: 37.94 kB / 0.8651 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.7065, allocations: 0.8002 MB / 0.8659 GB, free: 11.77 MB / 0.6042 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.005938/0.7124, allocations: 5.066 MB / 0.8708 GB, free: 6.348 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.7137, allocations: 0.7067 MB / 0.8715 GB, free: 5.637 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005817/0.7143, allocations: 354.8 kB / 0.8718 GB, free: 5.289 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006092/0.715, allocations: 315.9 kB / 0.8721 GB, free: 4.926 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.715, allocations: 43.12 kB / 0.8722 GB, free: 4.875 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=70): time 2.414e-06/0.715, allocations: 0 / 0.8722 GB, free: 4.875 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.001918/0.7169, allocations: 0.943 MB / 0.8731 GB, free: 3.922 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.717, allocations: 59.97 kB / 0.8732 GB, free: 3.852 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.718, allocations: 0.8764 MB / 0.874 GB, free: 2.957 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.689e-05/0.7181, allocations: 37.7 kB / 0.8741 GB, free: 2.914 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.7185, allocations: 0.5545 MB / 0.8746 GB, free: 2.352 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.7187, allocations: 256.3 kB / 0.8748 GB, free: 2.098 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.7189, allocations: 142.6 kB / 0.875 GB, free: 1.953 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.719, allocations: 337.9 kB / 0.8753 GB, free: 1.617 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004717/0.7195, allocations: 252.7 kB / 0.8755 GB, free: 1.367 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006017/0.7201, allocations: 455 kB / 0.876 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.7212, allocations: 0.7094 MB / 0.8767 GB, free: 80 kB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.7212, allocations: 0 / 0.8767 GB, free: 80 kB / 0.6042 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001409/0.7226, allocations: 0.8319 MB / 0.8775 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.7227, allocations: 19.97 kB / 0.8775 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.7227, allocations: 4 kB / 0.8775 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.7227, allocations: 8 kB / 0.8775 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/0.7246, allocations: 263.7 kB / 0.8778 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.7262, allocations: 1.389 MB / 0.8791 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009178/0.7272, allocations: 116.1 kB / 0.8792 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.018e-05/0.7272, allocations: 36.05 kB / 0.8793 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000773/0.728, allocations: 479.3 kB / 0.8797 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005954/0.7286, allocations: 451.7 kB / 0.8801 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001046/0.7297, allocations: 0.7015 MB / 0.8808 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.364e-06/0.7297, allocations: 4 kB / 0.8808 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001327/0.731, allocations: 0.8358 MB / 0.8817 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.731, allocations: 8 kB / 0.8817 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.7311, allocations: 4 kB / 0.8817 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.754e-06/0.7311, allocations: 8 kB / 0.8817 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.7326, allocations: 267.8 kB / 0.8819 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.7337, allocations: 1.387 MB / 0.8833 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007578/0.7345, allocations: 103.5 kB / 0.8834 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.7346, allocations: 28 kB / 0.8834 GB, free: 8.738 MB / 0.6198 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.0002055/0.7348, allocations: 236 kB / 0.8836 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.7349, allocations: 106.7 kB / 0.8837 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.7366, allocations: 0.794 MB / 0.8845 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.7366, allocations: 8 kB / 0.8845 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.7366, allocations: 3.984 kB / 0.8845 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001276/0.7379, allocations: 0.7078 MB / 0.8852 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/0.7411, allocations: 1.934 MB / 0.8871 GB, free: 4.824 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.7411, allocations: 8.062 kB / 0.8871 GB, free: 4.816 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000721/0.7418, allocations: 143.8 kB / 0.8872 GB, free: 4.676 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004296/0.7423, allocations: 49.03 kB / 0.8873 GB, free: 4.625 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/0.7423, allocations: 16 kB / 0.8873 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.7436, allocations: 1.348 MB / 0.8886 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.7436, allocations: 7.969 kB / 0.8886 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01817/0.7618, allocations: 7.984 MB / 0.8964 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003853/0.7622, allocations: 259.4 kB / 0.8967 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.7623, allocations: 27.98 kB / 0.8967 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000629/0.763, allocations: 51.95 kB / 0.8968 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.942e-05/0.7631, allocations: 40.5 kB / 0.8968 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-05/0.7631, allocations: 32 kB / 0.8968 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008401/0.764, allocations: 0.5928 MB / 0.8974 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.61e-07/0.764, allocations: 3.938 kB / 0.8974 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002732/0.7667, allocations: 0.846 MB / 0.8982 GB, free: 9.055 MB / 0.6355 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.0004924/0.7672, allocations: 226.9 kB / 0.8984 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003626/0.7709, allocations: 1.217 MB / 0.8996 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.7709, allocations: 0 / 0.8996 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007602/0.7716, allocations: 446.1 kB / 0.9001 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/0.7742, allocations: 0.5021 MB / 0.9005 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/0.7786, allocations: 3.076 MB / 0.9036 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006724/0.7793, allocations: 1.17 MB / 0.9047 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001177/0.7805, allocations: 304.8 kB / 0.905 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/0.7808, allocations: 91.42 kB / 0.9051 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.7808, allocations: 0 / 0.9051 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of Templates: time 0.04058/0.8214, allocations: 20.7 MB / 0.9253 GB, free: 13.46 MB / 0.6667 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)