Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.004052/0.004052, allocations: 178.3 kB / 7.454 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6783/0.6783, allocations: 130.6 MB / 138.5 MB, free: 2.203 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.539/1.539, allocations: 221.3 MB / 391.4 MB, free: 13.04 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.0009157/0.0009157, allocations: 99.75 kB / 473.4 MB, free: 14.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.005e-05/1.008e-05, allocations: 2.688 kB / 0.5479 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1725, allocations: 81.58 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5277/0.7002, allocations: 111.9 MB / 0.7368 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.7005, allocations: 75.61 kB / 0.7369 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01162/0.7122, allocations: 3.962 MB / 0.7408 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.7122, allocations: 3.812 kB / 0.7408 GB, free: 11.17 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004888/0.7127, allocations: 372.7 kB / 0.7411 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.7128, allocations: 7.938 kB / 0.7411 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.7128, allocations: 8.625 kB / 0.7412 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.7129, allocations: 166.9 kB / 0.7413 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.713, allocations: 1.453 kB / 0.7413 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.713, allocations: 11.84 kB / 0.7413 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.999e-05/0.7131, allocations: 27.27 kB / 0.7414 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.7132, allocations: 68.11 kB / 0.7414 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.7132, allocations: 0 / 0.7414 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.7133, allocations: 0 / 0.7414 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.7133, allocations: 0 / 0.7414 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.7138, allocations: 305.6 kB / 0.7417 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.576e-05/0.7138, allocations: 34.33 kB / 0.7417 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.7139, allocations: 17.94 kB / 0.7418 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.7139, allocations: 3.625 kB / 0.7418 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.7139, allocations: 46.33 kB / 0.7418 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.7139, allocations: 0 / 0.7418 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0008685/0.7148, allocations: 0.5184 MB / 0.7423 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.7149, allocations: 55.95 kB / 0.7424 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.743e-05/0.7149, allocations: 93.92 kB / 0.7425 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.715, allocations: 25.8 kB / 0.7425 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.715, allocations: 93.3 kB / 0.7426 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.715, allocations: 34.22 kB / 0.7426 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.715, allocations: 0 / 0.7426 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.7152, allocations: 321 kB / 0.7429 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.441e-05/0.7152, allocations: 18.42 kB / 0.7429 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.7152, allocations: 18.44 kB / 0.7429 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.427e-05/0.7153, allocations: 27.56 kB / 0.743 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7153, allocations: 3.844 kB / 0.743 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001353/0.7154, allocations: 90.41 kB / 0.7431 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.7155, allocations: 10.66 kB / 0.7431 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.7155, allocations: 0.7031 kB / 0.7431 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.7155, allocations: 3.875 kB / 0.7431 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.7157, allocations: 28.22 kB / 0.7431 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.7157, allocations: 3.906 kB / 0.7431 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.782e-05/0.7157, allocations: 5.438 kB / 0.7431 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.7158, allocations: 11.59 kB / 0.7431 GB, free: 25.11 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 7.285e-05/0.7158, allocations: 105.5 kB / 0.7432 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.7159, allocations: 7.781 kB / 0.7432 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.7161, allocations: 100.7 kB / 0.7433 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.7161, allocations: 3.812 kB / 0.7433 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.7161, allocations: 0 / 0.7433 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.7161, allocations: 0.7969 kB / 0.7433 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.7165, allocations: 338.3 kB / 0.7437 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.7165, allocations: 0 / 0.7437 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.7167, allocations: 27.84 kB / 0.7437 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.7167, allocations: 0.5625 kB / 0.7437 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.7167, allocations: 4.453 kB / 0.7437 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.7167, allocations: 3.844 kB / 0.7437 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7167, allocations: 0.9375 kB / 0.7437 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002302/0.7169, allocations: 220.8 kB / 0.7439 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.717, allocations: 81.77 kB / 0.744 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.717, allocations: 4.516 kB / 0.744 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.7171, allocations: 5.938 kB / 0.744 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.7172, allocations: 6.5 kB / 0.744 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.7172, allocations: 8.531 kB / 0.744 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.219e-05/0.7172, allocations: 78.86 kB / 0.7441 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002831/0.7175, allocations: 45.09 kB / 0.7441 GB, free: 24.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0002423/0.7178, allocations: 136 kB / 0.7442 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.7179, allocations: 67.75 kB / 0.7443 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.7179, allocations: 0 / 0.7443 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.718, allocations: 31.11 kB / 0.7443 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.7181, allocations: 6.031 kB / 0.7443 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.7186, allocations: 231.2 kB / 0.7446 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.7189, allocations: 0.7094 MB / 0.7453 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.7189, allocations: 0 / 0.7453 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of Templates: time 0.003862/0.7228, allocations: 1.24 MB / 0.7465 GB, free: 23.23 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)