Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.PressureDropsExplicit.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.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.PressureDropsExplicit") translateModel(Annex60.Fluid.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.PressureDropsExplicit") [: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.288/0.288, allocations: 54.39 MB / 61.67 MB, free: 11.19 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.001242/0.001242, allocations: 186.3 kB / 75.38 MB, free: 1.484 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.657/1.657, allocations: 194.2 MB / 283.2 MB, free: 3.516 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.001715/0.001714, allocations: 111.2 kB / 341.3 MB, free: 9.395 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.999e-06/1.005e-05, allocations: 4 kB / 404.9 MB, free: 27.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1375, allocations: 57.65 MB / 462.6 MB, free: 2.004 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.745/4.883, allocations: 2.124 GB / 2.576 GB, free: 68.45 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/4.883, allocations: 87.95 kB / 2.576 GB, free: 68.37 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.56/10.44, allocations: 1.379 GB / 3.955 GB, free: 43.37 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003113/10.44, allocations: 53.8 kB / 3.955 GB, free: 43.36 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.007917/10.45, allocations: 1.954 MB / 3.957 GB, free: 42.36 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/10.45, allocations: 10.62 kB / 3.957 GB, free: 42.35 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002453/10.45, allocations: 262.2 kB / 3.957 GB, free: 42.25 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00452/10.46, allocations: 1.069 MB / 3.958 GB, free: 41.84 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/10.46, allocations: 116.2 kB / 3.959 GB, free: 41.78 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005138/10.46, allocations: 73.53 kB / 3.959 GB, free: 41.78 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003103/10.46, allocations: 0.8411 MB / 3.959 GB, free: 41.77 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003774/10.47, allocations: 1.109 MB / 3.961 GB, free: 41.67 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/10.47, allocations: 3.188 kB / 3.961 GB, free: 41.67 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003617/10.47, allocations: 3.125 kB / 3.961 GB, free: 41.67 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/10.47, allocations: 31.19 kB / 3.961 GB, free: 41.67 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/10.48, allocations: 4.699 MB / 3.965 GB, free: 39.09 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/10.48, allocations: 311.1 kB / 3.965 GB, free: 39.04 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/10.48, allocations: 197.6 kB / 3.966 GB, free: 39.02 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-05/10.48, allocations: 11.12 kB / 3.966 GB, free: 39.02 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.364e-05/10.48, allocations: 49.84 kB / 3.966 GB, free: 38.98 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=44): time 4.338e-06/10.48, allocations: 3.688 kB / 3.966 GB, free: 38.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44): time 0.006781/10.49, allocations: 1.328 MB / 3.967 GB, free: 38.87 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/10.49, allocations: 82.05 kB / 3.967 GB, free: 38.78 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/10.49, allocations: 0.7745 MB / 3.968 GB, free: 38.63 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003568/10.49, allocations: 33.2 kB / 3.968 GB, free: 38.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000553/10.49, allocations: 0.5579 MB / 3.968 GB, free: 38.26 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/10.49, allocations: 156.2 kB / 3.969 GB, free: 38.16 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/10.49, allocations: 0 / 3.969 GB, free: 38.16 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000129/10.49, allocations: 331 kB / 3.969 GB, free: 37.86 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/10.49, allocations: 192.4 kB / 3.969 GB, free: 37.86 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006488/10.49, allocations: 0.4884 MB / 3.97 GB, free: 37.48 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005779/10.49, allocations: 254.5 kB / 3.97 GB, free: 37.47 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/10.49, allocations: 3.875 kB / 3.97 GB, free: 37.47 MB / 0.5417 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.005144/10.5, allocations: 1.226 MB / 3.971 GB, free: 37.33 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007135/10.5, allocations: 2.711 MB / 3.974 GB, free: 34.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/10.5, allocations: 7.156 kB / 3.974 GB, free: 34.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004377/10.5, allocations: 151.3 kB / 3.974 GB, free: 34.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006322/10.5, allocations: 1.106 MB / 3.975 GB, free: 34.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004526/10.51, allocations: 2.956 MB / 3.978 GB, free: 32.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/10.51, allocations: 223.2 kB / 3.978 GB, free: 32.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/10.51, allocations: 29.48 kB / 3.978 GB, free: 32.23 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/10.51, allocations: 4.531 kB / 3.978 GB, free: 32.23 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001166/10.51, allocations: 0.524 MB / 3.979 GB, free: 32.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/10.51, allocations: 13.45 kB / 3.979 GB, free: 32.17 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002625/10.51, allocations: 71.36 kB / 3.979 GB, free: 32.15 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009626/10.51, allocations: 210.8 kB / 3.979 GB, free: 32.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/10.52, allocations: 2.771 MB / 3.981 GB, free: 29.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/10.52, allocations: 96.52 kB / 3.982 GB, free: 29.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.666e-05/10.52, allocations: 31.72 kB / 3.982 GB, free: 29.57 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 65 * 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: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005523/10.52, allocations: 128.4 kB / 3.982 GB, free: 29.45 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000588/10.52, allocations: 121.1 kB / 3.982 GB, free: 29.39 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004039/10.52, allocations: 111.5 kB / 3.982 GB, free: 29.37 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/10.52, allocations: 3.719 kB / 3.982 GB, free: 29.37 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/10.52, allocations: 0 / 3.982 GB, free: 29.37 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/10.52, allocations: 6.406 kB / 3.982 GB, free: 29.37 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/10.53, allocations: 3.196 MB / 3.985 GB, free: 28.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/10.53, allocations: 9.25 kB / 3.985 GB, free: 28.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005385/10.54, allocations: 0.9274 MB / 3.986 GB, free: 28.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003111/10.54, allocations: 138 kB / 3.986 GB, free: 28.73 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.083e-05/10.54, allocations: 11.95 kB / 3.986 GB, free: 28.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01339/10.55, allocations: 6.835 MB / 3.993 GB, free: 23.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.167e-05/10.55, allocations: 7.812 kB / 3.993 GB, free: 23.64 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005585/10.56, allocations: 1.596 MB / 3.994 GB, free: 22.71 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/10.56, allocations: 301.6 kB / 3.995 GB, free: 22.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006486/10.56, allocations: 8.188 kB / 3.995 GB, free: 22.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002606/10.56, allocations: 170.8 kB / 3.995 GB, free: 22.55 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/10.56, allocations: 48.73 kB / 3.995 GB, free: 22.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000362/10.56, allocations: 55.75 kB / 3.995 GB, free: 22.55 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001713/10.56, allocations: 0.5903 MB / 3.996 GB, free: 22.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00606/10.57, allocations: 1.022 MB / 3.997 GB, free: 22.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 34 * 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: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008304/10.58, allocations: 3.921 MB / 4 GB, free: 20.55 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01232/10.59, allocations: 2.543 MB / 4.003 GB, free: 20.18 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.045e-05/10.59, allocations: 3.469 kB / 4.003 GB, free: 20.18 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01244/10.6, allocations: 2.314 MB / 4.005 GB, free: 19.82 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003902/10.61, allocations: 484.9 kB / 4.006 GB, free: 19.78 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006407/10.61, allocations: 1.736 MB / 4.007 GB, free: 19.08 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00199/10.61, allocations: 1.374 MB / 4.009 GB, free: 18.35 MB / 0.5417 GB Notification: Performance of SimCode: time 2.315e-06/10.61, allocations: 0 / 4.009 GB, free: 18.35 MB / 0.5417 GB Notification: Performance of Templates: time 0.4412/11.06, allocations: 44.9 MB / 4.052 GB, free: 98.89 MB / 0.5573 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.PressureDropsExplicit.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.PressureDropsExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1)