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_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 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001214/0.001214, 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.001554/0.001553, allocations: 195.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.522/1.522, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3983/0.3983, allocations: 54.94 MB / 324.7 MB, free: 15.96 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.001511/0.001511, allocations: 79.88 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1314, allocations: 59.59 MB / 454.9 MB, free: 152 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.2027/0.3342, allocations: 1.259 MB / 456.2 MB, free: 39.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007099/0.3349, allocations: 0.5255 MB / 456.7 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.486e-05/0.335, allocations: 0.9688 kB / 456.7 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.335, allocations: 1.875 kB / 456.7 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.429e-05/0.3351, allocations: 7.938 kB / 456.7 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.3355, allocations: 121.6 kB / 456.8 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.658e-05/0.3356, allocations: 24.7 kB / 456.9 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.3356, allocations: 8.438 kB / 456.9 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.868e-05/0.3357, allocations: 2.875 kB / 456.9 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.254e-05/0.3357, allocations: 19.78 kB / 456.9 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.3357, allocations: 0 / 456.9 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004308/0.3362, allocations: 350 kB / 457.2 MB, free: 39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.3362, allocations: 8.078 kB / 457.3 MB, free: 39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.3362, allocations: 6.531 kB / 457.3 MB, free: 39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.3364, allocations: 138.2 kB / 457.4 MB, free: 38.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.3364, allocations: 0 / 457.4 MB, free: 38.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3365, allocations: 0.875 kB / 457.4 MB, free: 38.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.3365, allocations: 0 / 457.4 MB, free: 38.98 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003544/0.3368, allocations: 351 kB / 457.7 MB, free: 38.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3369, allocations: 7.938 kB / 457.7 MB, free: 38.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.3369, allocations: 8.938 kB / 457.8 MB, free: 38.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.973e-05/0.337, allocations: 164.3 kB / 457.9 MB, free: 38.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.337, allocations: 8.875 kB / 457.9 MB, free: 38.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.337, allocations: 384 / 457.9 MB, free: 38.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.3374, allocations: 76.31 kB / 458 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.3374, allocations: 192 / 458 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3374, allocations: 7.875 kB / 458 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3374, allocations: 2.625 kB / 458 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/0.3377, allocations: 37.39 kB / 458 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.3378, allocations: 162.2 kB / 458.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.3382, allocations: 79.83 kB / 458.3 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.924e-05/0.3382, allocations: 19.66 kB / 458.3 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.3384, allocations: 103 kB / 458.4 MB, free: 38.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.3385, allocations: 35.12 kB / 458.4 MB, free: 38.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3385, allocations: 0 / 458.4 MB, free: 38.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.002461/0.3409, allocations: 0.6004 MB / 459 MB, free: 37.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.341, allocations: 55.03 kB / 459.1 MB, free: 37.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.299e-05/0.341, allocations: 96.95 kB / 459.2 MB, free: 37.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.3411, allocations: 29.39 kB / 459.2 MB, free: 37.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.972e-05/0.3411, allocations: 81.05 kB / 459.3 MB, free: 37.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.3411, allocations: 29.86 kB / 459.3 MB, free: 37.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.3412, allocations: 22.8 kB / 459.3 MB, free: 37.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.918e-05/0.3412, allocations: 312.2 kB / 459.6 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.3413, allocations: 32.3 kB / 459.7 MB, free: 37.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.3415, allocations: 34.55 kB / 459.7 MB, free: 37.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.3417, allocations: 68.36 kB / 459.8 MB, free: 37.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3417, allocations: 0 / 459.8 MB, free: 37.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002706/0.342, allocations: 110.6 kB / 459.9 MB, free: 37.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.342, allocations: 10.28 kB / 459.9 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.342, allocations: 1.781 kB / 459.9 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.342, allocations: 3.766 kB / 459.9 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.3422, allocations: 18.81 kB / 459.9 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3422, allocations: 4.125 kB / 459.9 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.829e-05/0.3423, allocations: 8.281 kB / 459.9 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.3423, allocations: 3.844 kB / 459.9 MB, free: 37.11 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 (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 6.655e-05/0.3424, allocations: 116.8 kB / 460.1 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.3424, allocations: 10.12 kB / 460.1 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/0.3424, allocations: 11.09 kB / 460.1 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3424, allocations: 0 / 460.1 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3424, allocations: 2.75 kB / 460.1 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3424, allocations: 0 / 460.1 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005349/0.343, allocations: 380.2 kB / 460.4 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.343, allocations: 0 / 460.4 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.3431, allocations: 26.48 kB / 460.5 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3431, allocations: 0.6875 kB / 460.5 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3432, allocations: 3.75 kB / 460.5 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3432, allocations: 5.125 kB / 460.5 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3432, allocations: 3.469 kB / 460.5 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004415/0.3436, allocations: 234.7 kB / 460.7 MB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.635e-05/0.3437, allocations: 90.95 kB / 460.8 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.3437, allocations: 7.25 kB / 460.8 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.3438, allocations: 10.84 kB / 460.8 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.3438, allocations: 8.547 kB / 460.8 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.3439, allocations: 2.781 kB / 460.8 MB, free: 36.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.188e-05/0.3439, allocations: 77.16 kB / 460.9 MB, free: 36.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3439, allocations: 2.594 kB / 460.9 MB, free: 36.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.3441, allocations: 13.84 kB / 460.9 MB, free: 36.35 MB / 382.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 9.343e-05/0.3442, allocations: 101.9 kB / 461 MB, free: 36.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002901/0.3445, allocations: 82.05 kB / 461.1 MB, free: 36.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3445, allocations: 1.406 kB / 461.1 MB, free: 36.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.3446, allocations: 39.91 kB / 461.1 MB, free: 36.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.3449, allocations: 10.78 kB / 461.2 MB, free: 36.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006329/0.3455, allocations: 257.1 kB / 461.4 MB, free: 36.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.3456, allocations: 0.6775 MB / 462.1 MB, free: 35.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.737e-05/0.3457, allocations: 6.75 kB / 462.1 MB, free: 35.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.3458, allocations: 13.41 kB / 462.1 MB, free: 35.4 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3458, allocations: 6.625 kB / 462.1 MB, free: 35.4 MB / 382.1 MB Notification: Performance of Templates: time 0.002514/0.3483, allocations: 0.6954 MB / 462.8 MB, free: 35.37 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)