Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.00177/0.001769, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 194.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3962/0.3962, allocations: 54.95 MB / 324.7 MB, free: 15.92 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 71.89 kB / 395.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1302, allocations: 59.59 MB / 454.9 MB, free: 136 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.2023/0.3326, allocations: 1.263 MB / 456.2 MB, free: 39.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000733/0.3333, allocations: 0.5324 MB / 456.7 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.42e-05/0.3334, allocations: 3.156 kB / 456.7 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.632e-05/0.3334, allocations: 1.969 kB / 456.7 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.627e-05/0.3335, allocations: 9.766 kB / 456.7 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.3339, allocations: 126.4 kB / 456.9 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.234e-05/0.3339, allocations: 28.91 kB / 456.9 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.334, allocations: 8.172 kB / 456.9 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.384e-05/0.334, allocations: 11.8 kB / 456.9 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.209e-05/0.3341, allocations: 19.75 kB / 456.9 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.3341, allocations: 0 / 456.9 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004135/0.3345, allocations: 349.8 kB / 457.3 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.3345, allocations: 7.062 kB / 457.3 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.3346, allocations: 14.31 kB / 457.3 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.3348, allocations: 141.9 kB / 457.4 MB, free: 38.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3348, allocations: 0.75 kB / 457.4 MB, free: 38.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3348, allocations: 0 / 457.4 MB, free: 38.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.3348, allocations: 3.625 kB / 457.4 MB, free: 38.93 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003644/0.3352, allocations: 366.1 kB / 457.8 MB, free: 38.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.3352, allocations: 9.344 kB / 457.8 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.3352, allocations: 4.062 kB / 457.8 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.935e-05/0.3353, allocations: 169.3 kB / 458 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3353, allocations: 10.41 kB / 458 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.3354, allocations: 3.156 kB / 458 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.3357, allocations: 82.72 kB / 458.1 MB, free: 38.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3357, allocations: 192 / 458.1 MB, free: 38.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3357, allocations: 6.875 kB / 458.1 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3358, allocations: 0 / 458.1 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.336, allocations: 50.34 kB / 458.1 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.3361, allocations: 164.4 kB / 458.3 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.3364, allocations: 94.92 kB / 458.4 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.69e-05/0.3365, allocations: 28.52 kB / 458.4 MB, free: 38.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/0.3367, allocations: 113.2 kB / 458.5 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.3368, allocations: 35.38 kB / 458.6 MB, free: 37.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3368, allocations: 2.812 kB / 458.6 MB, free: 37.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.004769/0.3415, allocations: 1.144 MB / 459.7 MB, free: 37.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.3416, allocations: 52.16 kB / 459.8 MB, free: 37.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.439e-05/0.3417, allocations: 96.98 kB / 459.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.3417, allocations: 28.3 kB / 459.9 MB, free: 37.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.661e-05/0.3417, allocations: 86.89 kB / 460 MB, free: 37.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.3417, allocations: 40.58 kB / 460 MB, free: 37.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.3418, allocations: 26.73 kB / 460 MB, free: 37.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.593e-05/0.3419, allocations: 318.6 kB / 460.3 MB, free: 36.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.342, allocations: 54.69 kB / 460.4 MB, free: 36.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.3422, allocations: 66.36 kB / 460.5 MB, free: 36.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.3425, allocations: 117.5 kB / 460.6 MB, free: 36.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3426, allocations: 0 / 460.6 MB, free: 36.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003941/0.343, allocations: 169.4 kB / 460.7 MB, free: 36.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.343, allocations: 5.906 kB / 460.7 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.343, allocations: 0 / 460.7 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.343, allocations: 2.953 kB / 460.7 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.3433, allocations: 40.12 kB / 460.8 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3433, allocations: 0 / 460.8 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.3434, allocations: 13.16 kB / 460.8 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3434, allocations: 2.75 kB / 460.8 MB, free: 36.84 MB / 382.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 6.071e-05/0.3435, allocations: 120.5 kB / 460.9 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.3435, allocations: 10.66 kB / 460.9 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.3436, allocations: 14.78 kB / 460.9 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.3436, allocations: 0.9375 kB / 460.9 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3436, allocations: 0.6562 kB / 460.9 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3436, allocations: 0.75 kB / 460.9 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000615/0.3442, allocations: 442.4 kB / 461.4 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3442, allocations: 0 / 461.4 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.3445, allocations: 35.81 kB / 461.4 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3445, allocations: 0 / 461.4 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.3445, allocations: 8.5 kB / 461.4 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3445, allocations: 0.8438 kB / 461.4 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3445, allocations: 3.188 kB / 461.4 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006046/0.3451, allocations: 326.7 kB / 461.7 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.3452, allocations: 80.02 kB / 461.8 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.3452, allocations: 8.5 kB / 461.8 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.3454, allocations: 18.09 kB / 461.8 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.3454, allocations: 5.703 kB / 461.9 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.3454, allocations: 6.594 kB / 461.9 MB, free: 36.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.978e-05/0.3455, allocations: 77.78 kB / 461.9 MB, free: 36.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3455, allocations: 2.438 kB / 461.9 MB, free: 36.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.3457, allocations: 20.69 kB / 462 MB, free: 36.1 MB / 382.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 9.958e-05/0.3458, allocations: 111.2 kB / 462.1 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000416/0.3462, allocations: 135.6 kB / 462.2 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3463, allocations: 2.938 kB / 462.2 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.3464, allocations: 74.86 kB / 462.3 MB, free: 35.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.3467, allocations: 5.203 kB / 462.3 MB, free: 35.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.3477, allocations: 416.4 kB / 462.7 MB, free: 35.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.3479, allocations: 0.6832 MB / 463.4 MB, free: 35.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.348, allocations: 16.38 kB / 463.4 MB, free: 35.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.348, allocations: 16.06 kB / 463.4 MB, free: 35.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.348, allocations: 0 / 463.4 MB, free: 35.09 MB / 382.1 MB Notification: Performance of Templates: time 0.002824/0.3509, allocations: 0.9133 MB / 464.3 MB, free: 35.06 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)