Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness") [: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.2762/0.2762, allocations: 54.39 MB / 61.68 MB, free: 11.17 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.001227/0.001227, allocations: 183.5 kB / 75.37 MB, free: 1.516 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.299/1.299, allocations: 194.2 MB / 283.2 MB, free: 3.492 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.001838/0.001838, allocations: 122.7 kB / 341.3 MB, free: 9.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.596e-06/8.626e-06, allocations: 0 / 404.9 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.131, allocations: 57.65 MB / 462.6 MB, free: 1.957 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.074/5.205, allocations: 2.144 GB / 2.596 GB, free: 35.51 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000398/5.206, allocations: 89.38 kB / 2.596 GB, free: 35.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.657/8.863, allocations: 0.9658 GB / 3.562 GB, free: 33.45 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001813/8.863, allocations: 31.98 kB / 3.562 GB, free: 33.42 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.007487/8.87, allocations: 1.918 MB / 3.564 GB, free: 31.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/8.87, allocations: 15.97 kB / 3.564 GB, free: 31.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003624/8.874, allocations: 0.5719 MB / 3.565 GB, free: 30.86 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003094/8.877, allocations: 1.105 MB / 3.566 GB, free: 29.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006559/8.878, allocations: 194 kB / 3.566 GB, free: 29.51 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003664/8.878, allocations: 68 kB / 3.566 GB, free: 29.45 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002609/8.881, allocations: 1.258 MB / 3.567 GB, free: 28.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/8.883, allocations: 1.265 MB / 3.568 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/8.883, allocations: 0 / 3.568 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/8.884, allocations: 3.938 kB / 3.568 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.877e-05/8.884, allocations: 58.16 kB / 3.568 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008328/8.892, allocations: 4.862 MB / 3.573 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/8.893, allocations: 0.8132 MB / 3.574 GB, free: 20.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006479/8.894, allocations: 0.5007 MB / 3.575 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005884/8.895, allocations: 266.9 kB / 3.575 GB, free: 20.02 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/8.895, allocations: 51.16 kB / 3.575 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=79): time 2.435e-06/8.895, allocations: 0 / 3.575 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=79): time 0.002573/8.897, allocations: 1.225 MB / 3.576 GB, free: 18.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/8.897, allocations: 56.06 kB / 3.576 GB, free: 18.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008097/8.898, allocations: 0.6257 MB / 3.577 GB, free: 18.03 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001353/8.898, allocations: 25.7 kB / 3.577 GB, free: 18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/8.899, allocations: 439.1 kB / 3.577 GB, free: 17.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/8.899, allocations: 264.1 kB / 3.577 GB, free: 17.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/8.899, allocations: 3.938 kB / 3.577 GB, free: 17.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.292e-05/8.899, allocations: 341.8 kB / 3.578 GB, free: 16.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000564/8.899, allocations: 457.8 kB / 3.578 GB, free: 16.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006275/8.9, allocations: 0.5937 MB / 3.579 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/8.901, allocations: 0.6524 MB / 3.579 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/8.901, allocations: 0 / 3.579 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002069/8.903, allocations: 1.333 MB / 3.581 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000215/8.904, allocations: 1.05 MB / 3.582 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/8.904, allocations: 0 / 3.582 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/8.904, allocations: 8 kB / 3.582 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004468/8.908, allocations: 0.7999 MB / 3.582 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/8.91, allocations: 1.43 MB / 3.584 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/8.911, allocations: 223.1 kB / 3.584 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/8.911, allocations: 39.97 kB / 3.584 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/8.911, allocations: 4 kB / 3.584 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001895/8.913, allocations: 1.184 MB / 3.585 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/8.913, allocations: 4 kB / 3.585 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.669e-06/8.913, allocations: 11.98 kB / 3.585 GB, free: 8.977 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/8.915, allocations: 323.9 kB / 3.586 GB, free: 8.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/8.915, allocations: 11.92 kB / 3.586 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/8.916, allocations: 191.3 kB / 3.586 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.244e-05/8.916, allocations: 35.98 kB / 3.586 GB, free: 8.426 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002884/8.917, allocations: 124.8 kB / 3.586 GB, free: 8.297 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/8.917, allocations: 102.8 kB / 3.586 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/8.919, allocations: 1.299 MB / 3.587 GB, free: 6.891 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/8.919, allocations: 12 kB / 3.587 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/8.919, allocations: 0 / 3.587 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/8.919, allocations: 3.984 kB / 3.587 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00358/8.923, allocations: 2.566 MB / 3.59 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/8.923, allocations: 8.031 kB / 3.59 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004015/8.927, allocations: 0.7414 MB / 3.591 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/8.927, allocations: 7.938 kB / 3.591 GB, free: 3.465 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.771e-05/8.927, allocations: 19.98 kB / 3.591 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003381/8.93, allocations: 2.976 MB / 3.594 GB, free: 248 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/8.93, allocations: 7.938 kB / 3.594 GB, free: 240 kB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002797/8.933, allocations: 1.531 MB / 3.595 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007881/8.934, allocations: 331.5 kB / 3.595 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/8.934, allocations: 4 kB / 3.595 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/8.936, allocations: 187.7 kB / 3.596 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/8.936, allocations: 56.48 kB / 3.596 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/8.936, allocations: 47.95 kB / 3.596 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0008007/8.937, allocations: 483.1 kB / 3.596 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002643/8.939, allocations: 0.8263 MB / 3.597 GB, free: 12.64 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003908/8.943, allocations: 2.611 MB / 3.599 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008274/8.952, allocations: 2.497 MB / 3.602 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/8.952, allocations: 4 kB / 3.602 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007686/8.959, allocations: 1.601 MB / 3.603 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/8.962, allocations: 464.2 kB / 3.604 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01689/8.979, allocations: 2.591 MB / 3.606 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001709/8.981, allocations: 1.31 MB / 3.608 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of SimCode: time 7.02e-07/8.981, allocations: 0 / 3.608 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of Templates: time 0.3911/9.372, allocations: 41.35 MB / 3.648 GB, free: 97.2 MB / 0.5261 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)