Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [: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.003046/0.003049, allocations: 179.2 kB / 7.455 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.6881/0.6881, allocations: 130.6 MB / 138.5 MB, free: 2.195 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.552/1.552, allocations: 221.4 MB / 391.4 MB, free: 13 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.001023/0.001022, allocations: 108.7 kB / 473.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.117e-06/9.147e-06, allocations: 3.156 kB / 0.5479 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1752, allocations: 81.58 MB / 0.6276 GB, free: 18.17 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5206/0.6958, allocations: 111.2 MB / 0.7362 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.6961, allocations: 76.25 kB / 0.7363 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01195/0.708, allocations: 4.188 MB / 0.7404 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.7081, allocations: 0 / 0.7404 GB, free: 11.35 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004188/0.7085, allocations: 342 kB / 0.7407 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.7086, allocations: 7.531 kB / 0.7407 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.7086, allocations: 8.25 kB / 0.7407 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.7088, allocations: 167.7 kB / 0.7409 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.7088, allocations: 4.203 kB / 0.7409 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.7088, allocations: 11.69 kB / 0.7409 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.018e-05/0.7089, allocations: 19.25 kB / 0.7409 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.041e-05/0.709, allocations: 43.69 kB / 0.7409 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.7091, allocations: 0 / 0.7409 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.7091, allocations: 0 / 0.7409 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.7091, allocations: 4.172 kB / 0.7409 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.7093, allocations: 138.4 kB / 0.7411 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.498e-05/0.7094, allocations: 48.58 kB / 0.7411 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.7094, allocations: 24.89 kB / 0.7411 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.7095, allocations: 0 / 0.7411 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.7095, allocations: 41.72 kB / 0.7412 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.7095, allocations: 1.125 kB / 0.7412 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0008877/0.7104, allocations: 0.507 MB / 0.7417 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.7104, allocations: 55.34 kB / 0.7417 GB, free: 26 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.7105, allocations: 90.3 kB / 0.7418 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.7106, allocations: 25.7 kB / 0.7418 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.7106, allocations: 80.14 kB / 0.7419 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.7107, allocations: 40.64 kB / 0.742 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.7107, allocations: 0 / 0.742 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.7108, allocations: 325.5 kB / 0.7423 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.537e-05/0.7108, allocations: 18.94 kB / 0.7423 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.917e-05/0.7109, allocations: 17.94 kB / 0.7423 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.33e-05/0.7109, allocations: 21.11 kB / 0.7423 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.7109, allocations: 0 / 0.7423 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001504/0.7111, allocations: 93.94 kB / 0.7424 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.7111, allocations: 3.812 kB / 0.7424 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7111, allocations: 0 / 0.7424 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.7111, allocations: 0 / 0.7424 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.7113, allocations: 22.67 kB / 0.7424 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.7113, allocations: 0 / 0.7424 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/0.7113, allocations: 4 kB / 0.7424 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.7113, allocations: 7.953 kB / 0.7424 GB, free: 25.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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 8.706e-05/0.7114, allocations: 108.8 kB / 0.7426 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.7114, allocations: 3.938 kB / 0.7426 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.7117, allocations: 106.1 kB / 0.7427 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.7117, allocations: 3.906 kB / 0.7427 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.7117, allocations: 0 / 0.7427 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.7117, allocations: 0 / 0.7427 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.7121, allocations: 319.4 kB / 0.743 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7121, allocations: 0 / 0.743 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.7123, allocations: 25.67 kB / 0.743 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.7123, allocations: 3.906 kB / 0.743 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.7123, allocations: 1.359 kB / 0.743 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.7123, allocations: 0 / 0.743 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.7123, allocations: 0 / 0.743 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000255/0.7126, allocations: 214.2 kB / 0.7432 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.7127, allocations: 82.28 kB / 0.7433 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.7127, allocations: 7.75 kB / 0.7433 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-05/0.7128, allocations: 1.453 kB / 0.7433 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.7128, allocations: 8.734 kB / 0.7433 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.7128, allocations: 0.9375 kB / 0.7433 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.228e-05/0.7129, allocations: 79.22 kB / 0.7434 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000315/0.7132, allocations: 44.73 kB / 0.7434 GB, free: 24.63 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002913/0.7135, allocations: 140.3 kB / 0.7435 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.7136, allocations: 57.58 kB / 0.7436 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7136, allocations: 0 / 0.7436 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.618e-05/0.7137, allocations: 27.11 kB / 0.7436 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.7138, allocations: 4.953 kB / 0.7436 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.7143, allocations: 217.9 kB / 0.7438 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003748/0.7147, allocations: 0.705 MB / 0.7445 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of SimCode: time 2.91e-07/0.7147, allocations: 0 / 0.7445 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of Templates: time 0.003861/0.7186, allocations: 1.053 MB / 0.7456 GB, free: 23.54 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)