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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 119.4 kB / 16.37 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 193.5 kB / 17.31 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8362/0.8362, allocations: 132.2 MB / 423.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 55.91 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3412, allocations: 80.19 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002227/0.3435, allocations: 1.469 MB / 0.5829 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008223/0.3443, allocations: 0.634 MB / 0.5836 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.3443, allocations: 0 / 0.5836 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.3444, allocations: 8.891 kB / 0.5836 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.442e-05/0.3444, allocations: 5.156 kB / 0.5836 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004919/0.3449, allocations: 159.5 kB / 0.5837 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.363e-05/0.345, allocations: 55.5 kB / 0.5838 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.3451, allocations: 2.656 kB / 0.5838 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.238e-05/0.3451, allocations: 29.16 kB / 0.5838 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.708e-05/0.3452, allocations: 21.27 kB / 0.5838 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.3452, allocations: 3.688 kB / 0.5838 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.3456, allocations: 345.7 kB / 0.5842 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.3456, allocations: 15.98 kB / 0.5842 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.3457, allocations: 28.58 kB / 0.5842 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.3459, allocations: 179.5 kB / 0.5844 GB, free: 25.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3459, allocations: 0 / 0.5844 GB, free: 25.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3459, allocations: 0 / 0.5844 GB, free: 25.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.3459, allocations: 4.719 kB / 0.5844 GB, free: 25.48 MB / 446.1 MB 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.0004415/0.3464, allocations: 393.7 kB / 0.5847 GB, free: 25.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.3464, allocations: 9.281 kB / 0.5848 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.3465, allocations: 8.812 kB / 0.5848 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.954e-05/0.3465, allocations: 176.1 kB / 0.5849 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.3466, allocations: 7.469 kB / 0.5849 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.3466, allocations: 9 kB / 0.5849 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.3468, allocations: 86.77 kB / 0.585 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.3469, allocations: 9.188 kB / 0.585 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3469, allocations: 1.312 kB / 0.585 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3469, allocations: 1.188 kB / 0.585 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/0.3471, allocations: 48.3 kB / 0.5851 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.3475, allocations: 323.5 kB / 0.5854 GB, free: 24.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.3478, allocations: 82.09 kB / 0.5855 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.92e-05/0.3479, allocations: 31.81 kB / 0.5855 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.3479, allocations: 0 / 0.5855 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.348, allocations: 40.5 kB / 0.5855 GB, free: 24.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.348, allocations: 0.7812 kB / 0.5855 GB, free: 24.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001384/0.3493, allocations: 0.6486 MB / 0.5862 GB, free: 23.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.3494, allocations: 57.22 kB / 0.5862 GB, free: 23.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.456e-05/0.3494, allocations: 103.6 kB / 0.5863 GB, free: 23.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.3495, allocations: 26.73 kB / 0.5864 GB, free: 23.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.55e-05/0.3495, allocations: 91.64 kB / 0.5864 GB, free: 23.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.3495, allocations: 39.92 kB / 0.5865 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.3496, allocations: 30.3 kB / 0.5865 GB, free: 23.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.511e-05/0.3496, allocations: 314.4 kB / 0.5868 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.3497, allocations: 39.25 kB / 0.5869 GB, free: 23.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.3498, allocations: 30.92 kB / 0.5869 GB, free: 23.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.3501, allocations: 68.23 kB / 0.5869 GB, free: 23.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3501, allocations: 0 / 0.5869 GB, free: 23.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002692/0.3503, allocations: 121 kB / 0.5871 GB, free: 22.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.3504, allocations: 5.5 kB / 0.5871 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3504, allocations: 3.984 kB / 0.5871 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3504, allocations: 2.594 kB / 0.5871 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.3505, allocations: 28.58 kB / 0.5871 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/0.3506, allocations: 0 / 0.5871 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.892e-05/0.3506, allocations: 8.531 kB / 0.5871 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.3506, allocations: 3.156 kB / 0.5871 GB, free: 22.94 MB / 446.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/0.3507, allocations: 122.9 kB / 0.5872 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.3507, allocations: 7.281 kB / 0.5872 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003166/0.3511, allocations: 123.5 kB / 0.5874 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3511, allocations: 6.5 kB / 0.5874 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3511, allocations: 0 / 0.5874 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3511, allocations: 6.516 kB / 0.5874 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.3515, allocations: 383 kB / 0.5877 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3515, allocations: 2.125 kB / 0.5877 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.3517, allocations: 28.05 kB / 0.5878 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3517, allocations: 5 kB / 0.5878 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3517, allocations: 5.234 kB / 0.5878 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3517, allocations: 96 / 0.5878 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3517, allocations: 7.594 kB / 0.5878 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.3521, allocations: 251.8 kB / 0.588 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.3522, allocations: 88.14 kB / 0.5881 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.3522, allocations: 1.469 kB / 0.5881 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.3523, allocations: 8.312 kB / 0.5881 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.3523, allocations: 6.984 kB / 0.5881 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.3523, allocations: 5.156 kB / 0.5881 GB, free: 22.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.113e-05/0.3524, allocations: 86.14 kB / 0.5882 GB, free: 21.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3524, allocations: 0 / 0.5882 GB, free: 21.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.3526, allocations: 39.03 kB / 0.5882 GB, free: 21.95 MB / 446.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001603/0.3528, allocations: 135 kB / 0.5884 GB, free: 21.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002839/0.3531, allocations: 89.52 kB / 0.5885 GB, free: 21.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3531, allocations: 1.281 kB / 0.5885 GB, free: 21.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.3532, allocations: 49.69 kB / 0.5885 GB, free: 21.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.3535, allocations: 11.47 kB / 0.5885 GB, free: 21.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.3541, allocations: 309.2 kB / 0.5888 GB, free: 21.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.439e-05/0.3542, allocations: 0.6949 MB / 0.5895 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.115e-05/0.3543, allocations: 12.25 kB / 0.5895 GB, free: 20.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.3543, allocations: 21.14 kB / 0.5895 GB, free: 20.86 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3543, allocations: 0 / 0.5895 GB, free: 20.86 MB / 446.1 MB Notification: Performance of Templates: time 0.003111/0.3574, allocations: 1.123 MB / 0.5906 GB, free: 20.31 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)