Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [: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/Complex 4.0.0+maint.om/package.mo): time 0.003479/0.003479, allocations: 177 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6754/0.6754, allocations: 130.6 MB / 138.5 MB, free: 2.176 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 221.3 MB / 391.4 MB, free: 13.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.001068/0.001069, allocations: 93.78 kB / 473.4 MB, free: 14.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.306e-06/8.336e-06, allocations: 3.938 kB / 0.5479 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1602, allocations: 81.58 MB / 0.6276 GB, free: 18.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.515/0.6752, allocations: 112 MB / 0.737 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.6754, allocations: 85.05 kB / 0.7371 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01476/0.6902, allocations: 5.025 MB / 0.742 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.6902, allocations: 0 / 0.742 GB, free: 10.91 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003917/0.6906, allocations: 355.7 kB / 0.7423 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.6907, allocations: 12.38 kB / 0.7423 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.6907, allocations: 3.906 kB / 0.7423 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.6909, allocations: 159.9 kB / 0.7425 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.6909, allocations: 3.906 kB / 0.7425 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-06/0.6909, allocations: 0.6094 kB / 0.7425 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.815e-05/0.691, allocations: 15.86 kB / 0.7425 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.343e-05/0.6911, allocations: 47.67 kB / 0.7425 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.6911, allocations: 4.453 kB / 0.7425 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.6911, allocations: 0 / 0.7425 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.6911, allocations: 0 / 0.7425 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.6914, allocations: 228 kB / 0.7428 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.6916, allocations: 47.5 kB / 0.7428 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.6916, allocations: 17.38 kB / 0.7428 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.6916, allocations: 3.672 kB / 0.7428 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.6916, allocations: 31.31 kB / 0.7428 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.6916, allocations: 0 / 0.7428 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001475/0.6918, allocations: 51.44 kB / 0.7429 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.6918, allocations: 51.41 kB / 0.7429 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.897e-05/0.6919, allocations: 94.19 kB / 0.743 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.6919, allocations: 33.08 kB / 0.7431 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.692, allocations: 84.7 kB / 0.7431 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.045e-05/0.692, allocations: 9.031 kB / 0.7432 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/0.692, allocations: 0 / 0.7432 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.6921, allocations: 319.2 kB / 0.7435 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.6922, allocations: 3.844 kB / 0.7435 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.033e-05/0.6922, allocations: 17.81 kB / 0.7435 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.102e-05/0.6922, allocations: 13.72 kB / 0.7435 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6922, allocations: 0.7969 kB / 0.7435 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.941e-05/0.6923, allocations: 55.47 kB / 0.7435 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.6923, allocations: 3.75 kB / 0.7436 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.6923, allocations: 3.984 kB / 0.7436 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.6923, allocations: 4.547 kB / 0.7436 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.408e-05/0.6924, allocations: 4.625 kB / 0.7436 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.6924, allocations: 8.406 kB / 0.7436 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.6924, allocations: 4 kB / 0.7436 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.6924, allocations: 0 / 0.7436 GB, free: 25.29 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.704e-05/0.6925, allocations: 109.8 kB / 0.7437 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.6925, allocations: 7.844 kB / 0.7437 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.6927, allocations: 66.19 kB / 0.7438 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.6927, allocations: 0 / 0.7438 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6927, allocations: 0 / 0.7438 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.6927, allocations: 0.6562 kB / 0.7438 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.6928, allocations: 141.3 kB / 0.7439 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.6929, allocations: 7.938 kB / 0.7439 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/0.6929, allocations: 4.469 kB / 0.7439 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.6929, allocations: 0 / 0.7439 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.6929, allocations: 0.7969 kB / 0.7439 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6929, allocations: 3.969 kB / 0.7439 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6929, allocations: 0 / 0.7439 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001008/0.693, allocations: 143.1 kB / 0.744 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.6931, allocations: 85.7 kB / 0.7441 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.6931, allocations: 4.609 kB / 0.7441 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.82e-05/0.6932, allocations: 0 / 0.7441 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.6932, allocations: 4.219 kB / 0.7441 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.6932, allocations: 3.812 kB / 0.7441 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.078e-05/0.6932, allocations: 75.94 kB / 0.7442 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002338/0.6935, allocations: 20.77 kB / 0.7442 GB, free: 24.64 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001813/0.6937, allocations: 127.3 kB / 0.7443 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.598e-05/0.6937, allocations: 24.86 kB / 0.7444 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.6937, allocations: 4.062 kB / 0.7444 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.46e-05/0.6938, allocations: 11.53 kB / 0.7444 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.6939, allocations: 0 / 0.7444 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001859/0.6941, allocations: 58.98 kB / 0.7444 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.6944, allocations: 0.6913 MB / 0.7451 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/0.6944, allocations: 0 / 0.7451 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of Templates: time 0.002409/0.6968, allocations: 0.5524 MB / 0.7457 GB, free: 23.7 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)