Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.001386, allocations: 101.9 kB / 16.27 MB, free: 5.965 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.001347/0.001348, allocations: 188.6 kB / 17.2 MB, free: 5.59 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.377/1.377, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7963/0.7963, allocations: 135.1 MB / 426.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001505, allocations: 59.91 kB / 0.506 GB, free: 8.395 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3424, allocations: 80.9 MB / 0.585 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002161/0.3446, allocations: 1.269 MB / 0.5863 GB, free: 24.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007898/0.3455, allocations: 0.6132 MB / 0.5868 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.3455, allocations: 6.125 kB / 0.5869 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.3455, allocations: 3.938 kB / 0.5869 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.415e-05/0.3456, allocations: 0.8125 kB / 0.5869 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.3461, allocations: 149.4 kB / 0.587 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.839e-05/0.3461, allocations: 17.97 kB / 0.587 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.3462, allocations: 6.375 kB / 0.587 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.61e-05/0.3462, allocations: 14.61 kB / 0.587 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.3463, allocations: 7.625 kB / 0.587 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.3463, allocations: 0 / 0.587 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004307/0.3467, allocations: 342.1 kB / 0.5874 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.3467, allocations: 5.062 kB / 0.5874 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.334e-05/0.3468, allocations: 13.7 kB / 0.5874 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.347, allocations: 150.7 kB / 0.5875 GB, free: 23.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.347, allocations: 0 / 0.5875 GB, free: 23.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.347, allocations: 1.031 kB / 0.5875 GB, free: 23.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.347, allocations: 1.312 kB / 0.5875 GB, free: 23.64 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003119/0.3473, allocations: 359.9 kB / 0.5879 GB, free: 23.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.3474, allocations: 11.02 kB / 0.5879 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.3474, allocations: 2.406 kB / 0.5879 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.311e-05/0.3475, allocations: 171.2 kB / 0.5881 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3475, allocations: 9.75 kB / 0.5881 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.3475, allocations: 1.75 kB / 0.5881 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.259e-05/0.3476, allocations: 45.75 kB / 0.5881 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3477, allocations: 0 / 0.5881 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.3477, allocations: 1.906 kB / 0.5881 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3477, allocations: 1.219 kB / 0.5881 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.604e-05/0.3477, allocations: 13.75 kB / 0.5881 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000117/0.3478, allocations: 163.1 kB / 0.5883 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.348, allocations: 44.72 kB / 0.5883 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/0.348, allocations: 16.08 kB / 0.5883 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.3481, allocations: 2.062 kB / 0.5883 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.3481, allocations: 36.59 kB / 0.5884 GB, free: 22.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3481, allocations: 1.438 kB / 0.5884 GB, free: 22.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005306/0.3486, allocations: 303.6 kB / 0.5887 GB, free: 22.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.81e-05/0.3487, allocations: 57.22 kB / 0.5887 GB, free: 22.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.994e-05/0.3487, allocations: 94.02 kB / 0.5888 GB, free: 22.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.3487, allocations: 30.27 kB / 0.5888 GB, free: 22.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.232e-05/0.3487, allocations: 82.11 kB / 0.5889 GB, free: 22.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.3488, allocations: 26.17 kB / 0.5889 GB, free: 22.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.3488, allocations: 20.91 kB / 0.589 GB, free: 22.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.396e-05/0.3488, allocations: 314.8 kB / 0.5893 GB, free: 21.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.307e-05/0.3489, allocations: 14.27 kB / 0.5893 GB, free: 21.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.904e-05/0.3489, allocations: 15.64 kB / 0.5893 GB, free: 21.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.975e-05/0.349, allocations: 33 kB / 0.5893 GB, free: 21.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.349, allocations: 1.188 kB / 0.5893 GB, free: 21.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.623e-05/0.3491, allocations: 73.44 kB / 0.5894 GB, free: 21.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.3491, allocations: 4.438 kB / 0.5894 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3491, allocations: 1.188 kB / 0.5894 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3491, allocations: 0.9062 kB / 0.5894 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.668e-05/0.3492, allocations: 18.17 kB / 0.5894 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3492, allocations: 0.625 kB / 0.5894 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.82e-05/0.3492, allocations: 2.938 kB / 0.5894 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.3492, allocations: 1.469 kB / 0.5894 GB, free: 21.67 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 (7): * Single equations (assignments): 7 * 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 4.388e-05/0.3493, allocations: 111.2 kB / 0.5895 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.3493, allocations: 6.5 kB / 0.5895 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.3494, allocations: 72.95 kB / 0.5896 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3494, allocations: 1.469 kB / 0.5896 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3494, allocations: 4 kB / 0.5896 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3494, allocations: 0 / 0.5896 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.3496, allocations: 317.9 kB / 0.5899 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3497, allocations: 0 / 0.5899 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.158e-05/0.3497, allocations: 18.58 kB / 0.5899 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3497, allocations: 1.312 kB / 0.5899 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-06/0.3497, allocations: 5.312 kB / 0.5899 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3497, allocations: 1.312 kB / 0.5899 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3498, allocations: 3.125 kB / 0.5899 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.3499, allocations: 173.7 kB / 0.5901 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.3499, allocations: 84.45 kB / 0.5902 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.3499, allocations: 2.656 kB / 0.5902 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.35, allocations: 1.125 kB / 0.5902 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.35, allocations: 11.89 kB / 0.5902 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3501, allocations: 1.625 kB / 0.5902 GB, free: 20.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.861e-05/0.3501, allocations: 86.92 kB / 0.5903 GB, free: 20.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.3501, allocations: 0 / 0.5903 GB, free: 20.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000246/0.3503, allocations: 27.59 kB / 0.5903 GB, free: 20.79 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001355/0.3505, allocations: 130.6 kB / 0.5904 GB, free: 20.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.762e-05/0.3506, allocations: 32.48 kB / 0.5905 GB, free: 20.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3506, allocations: 1.188 kB / 0.5905 GB, free: 20.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.743e-05/0.3506, allocations: 19.23 kB / 0.5905 GB, free: 20.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.3508, allocations: 9.438 kB / 0.5905 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/0.3512, allocations: 220.2 kB / 0.5907 GB, free: 20.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.368e-05/0.3513, allocations: 0.6813 MB / 0.5914 GB, free: 19.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.896e-05/0.3513, allocations: 11.91 kB / 0.5914 GB, free: 19.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3513, allocations: 0 / 0.5914 GB, free: 19.77 MB / 446.1 MB Notification: Performance of Templates: time 0.001869/0.3532, allocations: 0.7997 MB / 0.5922 GB, free: 19.04 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)