Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001095/0.001095, allocations: 183.5 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/package.mo): time 0.6911/0.6911, allocations: 132.2 MB / 148.9 MB, free: 12.13 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.37/1.37, allocations: 222.9 MB / 403.4 MB, free: 7.07 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.0009944/0.0009944, allocations: 114.2 kB / 484.4 MB, free: 8.688 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009685/0.0009685, allocations: 55.92 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1591, allocations: 80.21 MB / 0.6402 GB, free: 6.766 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.4935/0.6526, allocations: 196.6 MB / 0.8321 GB, free: 14.51 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01373/0.6664, allocations: 10.44 MB / 0.8423 GB, free: 4.039 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.6681, allocations: 59.69 kB / 0.8424 GB, free: 3.98 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.6699, allocations: 477.1 kB / 0.8428 GB, free: 3.512 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.005092/0.675, allocations: 1.824 MB / 0.8446 GB, free: 1.68 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003545/0.6786, allocations: 1.245 MB / 0.8458 GB, free: 456 kB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005035/0.6836, allocations: 3.678 MB / 0.8494 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001874/0.6855, allocations: 1.019 MB / 0.8504 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004587/0.6901, allocations: 1.527 MB / 0.8519 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.6923, allocations: 0.9765 MB / 0.8529 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0002794/0.6926, allocations: 68 kB / 0.8529 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004362/0.697, allocations: 2.397 MB / 0.8553 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0005394/0.6975, allocations: 382.6 kB / 0.8556 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0009999/0.6985, allocations: 0.6526 MB / 0.8563 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.00408/0.7026, allocations: 2.531 MB / 0.8587 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.7026, allocations: 0 / 0.8587 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7026, allocations: 0 / 0.8587 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.441e-05/0.7027, allocations: 0 / 0.8587 GB, free: 3.156 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.004521/0.7073, allocations: 1.818 MB / 0.8605 GB, free: 1.285 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.7073, allocations: 8.031 kB / 0.8605 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/0.7096, allocations: 361.9 kB / 0.8609 GB, free: 0.9219 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.7114, allocations: 0.9168 MB / 0.8618 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/0.7115, allocations: 78 kB / 0.8618 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.7116, allocations: 107.9 kB / 0.8619 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.7135, allocations: 1.099 MB / 0.863 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.7136, allocations: 7.938 kB / 0.863 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.021e-05/0.7137, allocations: 40 kB / 0.8631 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.133e-05/0.7137, allocations: 37.94 kB / 0.8631 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.7152, allocations: 0.808 MB / 0.8639 GB, free: 13.72 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.005849/0.7211, allocations: 5.066 MB / 0.8688 GB, free: 8.301 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.7223, allocations: 0.7147 MB / 0.8695 GB, free: 7.582 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005616/0.7229, allocations: 358.8 kB / 0.8699 GB, free: 7.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005806/0.7235, allocations: 311.8 kB / 0.8702 GB, free: 6.871 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.7235, allocations: 39.12 kB / 0.8702 GB, free: 6.824 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=70): time 2.354e-06/0.7235, allocations: 4 kB / 0.8702 GB, free: 6.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.001874/0.7254, allocations: 0.9389 MB / 0.8711 GB, free: 5.875 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.7254, allocations: 55.97 kB / 0.8712 GB, free: 5.809 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.7265, allocations: 0.8764 MB / 0.872 GB, free: 4.914 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.737e-05/0.7265, allocations: 45.7 kB / 0.8721 GB, free: 4.863 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004149/0.7269, allocations: 0.5624 MB / 0.8726 GB, free: 4.293 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/0.7272, allocations: 244.3 kB / 0.8729 GB, free: 4.051 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.7274, allocations: 142.6 kB / 0.873 GB, free: 3.906 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.7275, allocations: 337.9 kB / 0.8733 GB, free: 3.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000479/0.728, allocations: 260.7 kB / 0.8736 GB, free: 3.312 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006014/0.7286, allocations: 455 kB / 0.874 GB, free: 2.797 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.7297, allocations: 0.7015 MB / 0.8747 GB, free: 2.035 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.7297, allocations: 8 kB / 0.8747 GB, free: 2.027 MB / 0.6042 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001438/0.7311, allocations: 0.8318 MB / 0.8755 GB, free: 1.188 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.7312, allocations: 15.92 kB / 0.8755 GB, free: 1.172 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.7312, allocations: 4 kB / 0.8755 GB, free: 1.168 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.7312, allocations: 8 kB / 0.8755 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.7328, allocations: 259.9 kB / 0.8758 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.7341, allocations: 1.393 MB / 0.8771 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008291/0.735, allocations: 111.2 kB / 0.8773 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/0.735, allocations: 35.98 kB / 0.8773 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007468/0.7358, allocations: 482 kB / 0.8777 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005843/0.7364, allocations: 448.3 kB / 0.8782 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001044/0.7375, allocations: 0.6976 MB / 0.8789 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.388e-06/0.7375, allocations: 4 kB / 0.8789 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001386/0.7389, allocations: 0.8315 MB / 0.8797 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.7389, allocations: 8 kB / 0.8797 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.7389, allocations: 4 kB / 0.8797 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.7389, allocations: 8 kB / 0.8797 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.7404, allocations: 268.1 kB / 0.8799 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.7416, allocations: 1.397 MB / 0.8813 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007774/0.7424, allocations: 101 kB / 0.8814 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/0.7424, allocations: 32 kB / 0.8814 GB, free: 10.7 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.0002052/0.7427, allocations: 230.5 kB / 0.8817 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.7428, allocations: 110.7 kB / 0.8818 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.7445, allocations: 0.7901 MB / 0.8825 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.7445, allocations: 8 kB / 0.8825 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.7445, allocations: 0 / 0.8825 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001325/0.7458, allocations: 0.7155 MB / 0.8832 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003246/0.7491, allocations: 1.93 MB / 0.8851 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.7491, allocations: 3.984 kB / 0.8851 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006893/0.7498, allocations: 140 kB / 0.8853 GB, free: 6.645 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004352/0.7503, allocations: 56.84 kB / 0.8853 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/0.7504, allocations: 23.98 kB / 0.8853 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.7517, allocations: 1.349 MB / 0.8867 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.7517, allocations: 4 kB / 0.8867 GB, free: 5.074 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0176/0.7693, allocations: 7.983 MB / 0.8945 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003881/0.7697, allocations: 263.4 kB / 0.8947 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.7698, allocations: 19.98 kB / 0.8947 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006217/0.7704, allocations: 51.95 kB / 0.8948 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.7706, allocations: 52.5 kB / 0.8948 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.7706, allocations: 20 kB / 0.8948 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007477/0.7714, allocations: 0.5967 MB / 0.8954 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7714, allocations: 0 / 0.8954 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002691/0.7741, allocations: 0.846 MB / 0.8963 GB, free: 11.02 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.000481/0.7746, allocations: 244.5 kB / 0.8965 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003536/0.7781, allocations: 1.197 MB / 0.8977 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.7781, allocations: 8.188 kB / 0.8977 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007876/0.7789, allocations: 449.6 kB / 0.8981 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/0.7813, allocations: 0.5079 MB / 0.8986 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004313/0.7856, allocations: 3.08 MB / 0.9016 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007691/0.7864, allocations: 1.163 MB / 0.9027 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001127/0.7875, allocations: 296.9 kB / 0.903 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/0.7879, allocations: 91.42 kB / 0.9031 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of SimCode: time 2e-07/0.7879, allocations: 0 / 0.9031 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of Templates: time 0.03371/0.8216, allocations: 20.69 MB / 0.9233 GB, free: 15.42 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)