Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Annex60.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2925/0.2925, allocations: 54.39 MB / 61.67 MB, free: 11.16 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001711/0.001711, allocations: 188.6 kB / 75.38 MB, free: 1.449 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.906/1.906, allocations: 194.2 MB / 283.2 MB, free: 3.504 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001943/0.001944, allocations: 111.7 kB / 341.3 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.314e-06/7.695e-06, allocations: 0 / 404.9 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1473, allocations: 57.64 MB / 462.6 MB, free: 1.969 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.096/4.243, allocations: 2.141 GB / 2.592 GB, free: 61.54 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/4.244, allocations: 89.31 kB / 2.592 GB, free: 61.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.89/6.134, allocations: 480 MB / 3.061 GB, free: 73.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001451/6.134, allocations: 36.66 kB / 3.061 GB, free: 73.61 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.003681/6.138, allocations: 1.498 MB / 3.063 GB, free: 72.97 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/6.138, allocations: 18.05 kB / 3.063 GB, free: 72.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/6.139, allocations: 285 kB / 3.063 GB, free: 72.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/6.141, allocations: 0.9052 MB / 3.064 GB, free: 72.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.46e-05/6.141, allocations: 38.56 kB / 3.064 GB, free: 72.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/6.141, allocations: 62.84 kB / 3.064 GB, free: 72.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00137/6.143, allocations: 0.7213 MB / 3.065 GB, free: 72.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/6.144, allocations: 0.9372 MB / 3.066 GB, free: 72.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/6.144, allocations: 0 / 3.066 GB, free: 72.44 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.689e-05/6.145, allocations: 0 / 3.066 GB, free: 72.44 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.233e-05/6.145, allocations: 45.56 kB / 3.066 GB, free: 72.44 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005681/6.15, allocations: 4.1 MB / 3.07 GB, free: 70.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009821/6.151, allocations: 0.5679 MB / 3.07 GB, free: 70.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004245/6.152, allocations: 252.8 kB / 3.07 GB, free: 70.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/6.152, allocations: 100.5 kB / 3.071 GB, free: 70.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/6.152, allocations: 47.3 kB / 3.071 GB, free: 70.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=61): time 2.645e-06/6.152, allocations: 0 / 3.071 GB, free: 70.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=61): time 0.001574/6.154, allocations: 0.6023 MB / 3.071 GB, free: 70.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/6.154, allocations: 165.2 kB / 3.071 GB, free: 70.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007743/6.154, allocations: 0.6026 MB / 3.072 GB, free: 69.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.174e-05/6.155, allocations: 33.2 kB / 3.072 GB, free: 69.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/6.155, allocations: 429.5 kB / 3.072 GB, free: 69.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/6.155, allocations: 207.2 kB / 3.073 GB, free: 69.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/6.155, allocations: 0 / 3.073 GB, free: 69.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001292/6.155, allocations: 337.8 kB / 3.073 GB, free: 69.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/6.156, allocations: 219.6 kB / 3.073 GB, free: 69.33 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/6.156, allocations: 390.1 kB / 3.074 GB, free: 69.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/6.156, allocations: 279.1 kB / 3.074 GB, free: 69.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/6.156, allocations: 3.938 kB / 3.074 GB, free: 69.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001058/6.158, allocations: 0.6971 MB / 3.074 GB, free: 69.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004023/6.158, allocations: 1.313 MB / 3.076 GB, free: 67.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/6.158, allocations: 3.938 kB / 3.076 GB, free: 67.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/6.158, allocations: 11.22 kB / 3.076 GB, free: 67.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/6.16, allocations: 279.3 kB / 3.076 GB, free: 67.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/6.161, allocations: 1.351 MB / 3.077 GB, free: 66.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/6.162, allocations: 111.7 kB / 3.077 GB, free: 66.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.949e-05/6.162, allocations: 26.14 kB / 3.077 GB, free: 66.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.106e-06/6.162, allocations: 3.938 kB / 3.077 GB, free: 66.38 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009073/6.163, allocations: 0.5518 MB / 3.078 GB, free: 66.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/6.163, allocations: 5.625 kB / 3.078 GB, free: 66.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/6.163, allocations: 7.5 kB / 3.078 GB, free: 66.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/6.165, allocations: 243.3 kB / 3.078 GB, free: 66.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/6.166, allocations: 1.352 MB / 3.08 GB, free: 65.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009271/6.167, allocations: 76.28 kB / 3.08 GB, free: 65.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/6.167, allocations: 27.75 kB / 3.08 GB, free: 65.05 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 3 (vol1.i_w,PI1.I.trigger_internal,PI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002828/6.167, allocations: 126 kB / 3.08 GB, free: 64.94 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/6.167, allocations: 98.5 kB / 3.08 GB, free: 64.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/6.169, allocations: 0.607 MB / 3.08 GB, free: 64.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/6.169, allocations: 7.75 kB / 3.08 GB, free: 64.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/6.169, allocations: 7.359 kB / 3.081 GB, free: 64.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009496/6.17, allocations: 0.5764 MB / 3.081 GB, free: 64.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/6.172, allocations: 1.466 MB / 3.082 GB, free: 64.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/6.172, allocations: 0 / 3.082 GB, free: 64.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000769/6.173, allocations: 153.5 kB / 3.083 GB, free: 64.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004395/6.174, allocations: 44.05 kB / 3.083 GB, free: 64.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/6.174, allocations: 11.8 kB / 3.083 GB, free: 64.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/6.175, allocations: 1.32 MB / 3.084 GB, free: 63.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/6.175, allocations: 0 / 3.084 GB, free: 63.1 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001537/6.176, allocations: 1.025 MB / 3.085 GB, free: 62.85 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004635/6.177, allocations: 259.5 kB / 3.085 GB, free: 62.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/6.177, allocations: 6.219 kB / 3.085 GB, free: 62.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008799/6.178, allocations: 73.52 kB / 3.085 GB, free: 62.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/6.178, allocations: 36.5 kB / 3.085 GB, free: 62.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.016e-05/6.178, allocations: 28.48 kB / 3.085 GB, free: 62.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0005969/6.179, allocations: 469.9 kB / 3.086 GB, free: 62.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001806/6.18, allocations: 0.6291 MB / 3.086 GB, free: 62.49 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00223/6.183, allocations: 1.604 MB / 3.088 GB, free: 62.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003237/6.186, allocations: 1.131 MB / 3.089 GB, free: 62.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/6.186, allocations: 3.812 kB / 3.089 GB, free: 62.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006027/6.187, allocations: 365 kB / 3.089 GB, free: 61.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/6.189, allocations: 378 kB / 3.09 GB, free: 61.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/6.193, allocations: 1.575 MB / 3.091 GB, free: 61.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000914/6.194, allocations: 1.233 MB / 3.093 GB, free: 60.77 MB / 0.4948 GB Notification: Performance of SimCode: time 1.102e-06/6.194, allocations: 0 / 3.093 GB, free: 60.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.04717/6.241, allocations: 27.21 MB / 3.119 GB, free: 59.88 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)