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.001331/0.001331, allocations: 106.6 kB / 16.35 MB, free: 5.824 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.001409/0.001409, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.276/1.276, 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-master/package.mo): time 0.7496/0.7496, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 63.91 kB / 0.5068 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3502, allocations: 80.9 MB / 0.5858 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002618/0.3529, allocations: 1.463 MB / 0.5872 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009238/0.3538, allocations: 0.6365 MB / 0.5878 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.3539, allocations: 1.094 kB / 0.5878 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.3539, allocations: 3.938 kB / 0.5878 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.868e-05/0.354, allocations: 8.984 kB / 0.5878 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000572/0.3545, allocations: 163.3 kB / 0.588 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.737e-05/0.3546, allocations: 55.25 kB / 0.588 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.3547, allocations: 4.406 kB / 0.588 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.365e-05/0.3548, allocations: 22.89 kB / 0.5881 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.81e-05/0.3548, allocations: 31.39 kB / 0.5881 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.3548, allocations: 5.406 kB / 0.5881 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004715/0.3553, allocations: 343.7 kB / 0.5884 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.3553, allocations: 14.7 kB / 0.5884 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.333e-05/0.3554, allocations: 24.67 kB / 0.5885 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.3557, allocations: 173.4 kB / 0.5886 GB, free: 23.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.3557, allocations: 0 / 0.5886 GB, free: 23.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3557, allocations: 0.7188 kB / 0.5886 GB, free: 23.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.3557, allocations: 1.375 kB / 0.5886 GB, free: 23.45 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.0005506/0.3563, allocations: 403.2 kB / 0.589 GB, free: 23.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3563, allocations: 11.95 kB / 0.589 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.3564, allocations: 7.688 kB / 0.589 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.341e-05/0.3565, allocations: 171.2 kB / 0.5892 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.3565, allocations: 4.531 kB / 0.5892 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.3565, allocations: 9.938 kB / 0.5892 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.3568, allocations: 82.06 kB / 0.5893 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3568, allocations: 9.062 kB / 0.5893 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3568, allocations: 0 / 0.5893 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3568, allocations: 3.562 kB / 0.5893 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.357, allocations: 53.98 kB / 0.5893 GB, free: 22.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.3575, allocations: 320.8 kB / 0.5897 GB, free: 22.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.3578, allocations: 84.09 kB / 0.5897 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.036e-05/0.3579, allocations: 34.19 kB / 0.5898 GB, free: 22.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.3579, allocations: 0 / 0.5898 GB, free: 22.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.3579, allocations: 36.28 kB / 0.5898 GB, free: 22.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.3579, allocations: 3.938 kB / 0.5898 GB, free: 22.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001363/0.3593, allocations: 0.6403 MB / 0.5904 GB, free: 21.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.3593, allocations: 60.78 kB / 0.5905 GB, free: 21.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.039e-05/0.3594, allocations: 105.8 kB / 0.5906 GB, free: 21.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.3594, allocations: 25.7 kB / 0.5906 GB, free: 21.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3e-05/0.3594, allocations: 93.3 kB / 0.5907 GB, free: 21.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.3595, allocations: 35.45 kB / 0.5907 GB, free: 21.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.3595, allocations: 30.77 kB / 0.5908 GB, free: 21.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.651e-05/0.3596, allocations: 326.8 kB / 0.5911 GB, free: 20.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.3597, allocations: 24.58 kB / 0.5911 GB, free: 20.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.712e-05/0.3598, allocations: 37.72 kB / 0.5911 GB, free: 20.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.36, allocations: 72.83 kB / 0.5912 GB, free: 20.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.36, allocations: 5.031 kB / 0.5912 GB, free: 20.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002511/0.3602, allocations: 118.6 kB / 0.5913 GB, free: 20.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3603, allocations: 4 kB / 0.5913 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3603, allocations: 0.5312 kB / 0.5913 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.3603, allocations: 7.938 kB / 0.5913 GB, free: 20.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.3604, allocations: 33.67 kB / 0.5914 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3605, allocations: 3.984 kB / 0.5914 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.86e-05/0.3605, allocations: 7.984 kB / 0.5914 GB, free: 20.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.3605, allocations: 8 kB / 0.5914 GB, free: 20.48 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.64e-05/0.3606, allocations: 112.8 kB / 0.5915 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.3606, allocations: 7.906 kB / 0.5915 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.3609, allocations: 125.5 kB / 0.5916 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.361, allocations: 7.922 kB / 0.5916 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.361, allocations: 0.5938 kB / 0.5916 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.361, allocations: 3.938 kB / 0.5916 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.3614, allocations: 382.2 kB / 0.592 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3614, allocations: 0 / 0.592 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.3615, allocations: 35.84 kB / 0.592 GB, free: 19.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3616, allocations: 0 / 0.592 GB, free: 19.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.3616, allocations: 4 kB / 0.592 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3616, allocations: 4 kB / 0.592 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3616, allocations: 0 / 0.592 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.362, allocations: 250.1 kB / 0.5923 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.362, allocations: 81.05 kB / 0.5924 GB, free: 19.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.362, allocations: 8.031 kB / 0.5924 GB, free: 19.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3621, allocations: 9.078 kB / 0.5924 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.3621, allocations: 4 kB / 0.5924 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.3622, allocations: 9.703 kB / 0.5924 GB, free: 19.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.585e-05/0.3622, allocations: 79.28 kB / 0.5925 GB, free: 19.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3622, allocations: 3.938 kB / 0.5925 GB, free: 19.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.3625, allocations: 39.94 kB / 0.5925 GB, free: 19.25 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.0001834/0.3627, allocations: 132.8 kB / 0.5926 GB, free: 19.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002769/0.363, allocations: 77.17 kB / 0.5927 GB, free: 19.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.363, allocations: 0 / 0.5927 GB, free: 19.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.3631, allocations: 52.81 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.0002899/0.3634, allocations: 11.05 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.0005742/0.364, allocations: 326.2 kB / 0.5931 GB, free: 18.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.3641, allocations: 0.6885 MB / 0.5937 GB, free: 17.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.931e-05/0.3642, allocations: 12.66 kB / 0.5938 GB, free: 17.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.3642, allocations: 15.44 kB / 0.5938 GB, free: 17.95 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3642, allocations: 4 kB / 0.5938 GB, free: 17.94 MB / 446.1 MB Notification: Performance of Templates: time 0.003207/0.3674, allocations: 1.133 MB / 0.5949 GB, free: 16.85 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)