Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.001542/0.001542, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001696/0.001696, allocations: 191 kB / 17.29 MB, free: 5.516 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7909/0.7909, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 75.88 kB / 0.5068 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3558, allocations: 80.9 MB / 0.5858 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002385/0.3582, allocations: 1.46 MB / 0.5872 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008369/0.3591, allocations: 0.6387 MB / 0.5878 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.3591, allocations: 0 / 0.5878 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.3592, allocations: 3.938 kB / 0.5878 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.053e-05/0.3592, allocations: 5.75 kB / 0.5878 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.3597, allocations: 164.7 kB / 0.588 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.911e-05/0.3598, allocations: 52.45 kB / 0.588 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.61e-05/0.3599, allocations: 6.547 kB / 0.588 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.983e-05/0.36, allocations: 22.98 kB / 0.5881 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.025e-05/0.36, allocations: 27.16 kB / 0.5881 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.36, allocations: 4.438 kB / 0.5881 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004326/0.3605, allocations: 345.2 kB / 0.5884 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.3605, allocations: 10.5 kB / 0.5884 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.3605, allocations: 28.95 kB / 0.5885 GB, free: 23.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.3608, allocations: 175 kB / 0.5886 GB, free: 23.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3608, allocations: 2.25 kB / 0.5886 GB, free: 23.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3608, allocations: 0 / 0.5886 GB, free: 23.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.3608, allocations: 0 / 0.5886 GB, free: 23.43 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.0004731/0.3613, allocations: 406.4 kB / 0.589 GB, free: 23.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.3613, allocations: 10.02 kB / 0.589 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.3614, allocations: 8.906 kB / 0.589 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.544e-05/0.3614, allocations: 171.2 kB / 0.5892 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.3615, allocations: 3 kB / 0.5892 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.3615, allocations: 8.344 kB / 0.5892 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.3617, allocations: 79.56 kB / 0.5893 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3617, allocations: 5.938 kB / 0.5893 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3617, allocations: 5.25 kB / 0.5893 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3617, allocations: 1.406 kB / 0.5893 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.362, allocations: 52.36 kB / 0.5893 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.3624, allocations: 323 kB / 0.5896 GB, free: 22.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.3626, allocations: 83.22 kB / 0.5897 GB, free: 22.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.431e-05/0.3627, allocations: 37.39 kB / 0.5898 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.3628, allocations: 8.641 kB / 0.5898 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.3628, allocations: 35.28 kB / 0.5898 GB, free: 22.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3628, allocations: 1.469 kB / 0.5898 GB, free: 22.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001322/0.3641, allocations: 0.6454 MB / 0.5904 GB, free: 21.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.893e-05/0.3642, allocations: 55.34 kB / 0.5905 GB, free: 21.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.519e-05/0.3642, allocations: 98.48 kB / 0.5906 GB, free: 21.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.3642, allocations: 30.92 kB / 0.5906 GB, free: 21.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.261e-05/0.3643, allocations: 92.06 kB / 0.5907 GB, free: 21.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.3643, allocations: 35.45 kB / 0.5907 GB, free: 21.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.3643, allocations: 26.81 kB / 0.5908 GB, free: 21.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.73e-05/0.3644, allocations: 324.5 kB / 0.5911 GB, free: 20.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.3645, allocations: 27.98 kB / 0.5911 GB, free: 20.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.3646, allocations: 39.28 kB / 0.5911 GB, free: 20.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.3648, allocations: 74.55 kB / 0.5912 GB, free: 20.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3648, allocations: 0 / 0.5912 GB, free: 20.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002553/0.3651, allocations: 120.9 kB / 0.5913 GB, free: 20.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.3651, allocations: 4 kB / 0.5913 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3651, allocations: 7.938 kB / 0.5913 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3651, allocations: 0 / 0.5913 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.3653, allocations: 31.86 kB / 0.5914 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3653, allocations: 3.984 kB / 0.5914 GB, free: 20.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.904e-05/0.3653, allocations: 11.98 kB / 0.5914 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3654, allocations: 5.531 kB / 0.5914 GB, free: 20.5 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.193e-05/0.3654, allocations: 113.8 kB / 0.5915 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.3654, allocations: 4.438 kB / 0.5915 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.3658, allocations: 130.1 kB / 0.5916 GB, free: 20.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3658, allocations: 4.594 kB / 0.5916 GB, free: 20.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3658, allocations: 4.75 kB / 0.5916 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3658, allocations: 0 / 0.5916 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.3663, allocations: 380.8 kB / 0.592 GB, free: 19.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3663, allocations: 3.984 kB / 0.592 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.3664, allocations: 31.86 kB / 0.592 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3665, allocations: 0 / 0.592 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3665, allocations: 9.281 kB / 0.592 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3665, allocations: 0 / 0.592 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3665, allocations: 0 / 0.592 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/0.3669, allocations: 252.9 kB / 0.5923 GB, free: 19.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.3669, allocations: 85.08 kB / 0.5924 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.367, allocations: 0 / 0.5924 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.3671, allocations: 7.984 kB / 0.5924 GB, free: 19.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.3671, allocations: 13.27 kB / 0.5924 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.3671, allocations: 8 kB / 0.5924 GB, free: 19.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.129e-05/0.3672, allocations: 75.47 kB / 0.5925 GB, free: 19.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3672, allocations: 1.562 kB / 0.5925 GB, free: 19.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.3674, allocations: 39.94 kB / 0.5925 GB, free: 19.27 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.0001745/0.3676, allocations: 146 kB / 0.5926 GB, free: 19.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.3679, allocations: 79.95 kB / 0.5927 GB, free: 19.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3679, allocations: 0.875 kB / 0.5927 GB, free: 19.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.368, allocations: 52.91 kB / 0.5928 GB, free: 18.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.3683, allocations: 8.531 kB / 0.5928 GB, free: 18.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005403/0.3689, allocations: 313.4 kB / 0.5931 GB, free: 18.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.451e-05/0.369, allocations: 0.6924 MB / 0.5937 GB, free: 17.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.962e-05/0.369, allocations: 12.66 kB / 0.5938 GB, free: 17.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.3691, allocations: 19.44 kB / 0.5938 GB, free: 17.95 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3691, allocations: 0 / 0.5938 GB, free: 17.95 MB / 446.1 MB Notification: Performance of Templates: time 0.003088/0.3722, allocations: 1.13 MB / 0.5949 GB, free: 16.87 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)