Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003705/0.003705, allocations: 359.3 kB / 16.59 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.505/1.505, allocations: 165.8 MB / 183.1 MB, free: 5.418 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.718/3.718, allocations: 410.7 MB / 0.6001 GB, free: 15.11 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001744/0.001743, allocations: 192.8 kB / 0.6668 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004629, allocations: 12 kB / 0.7429 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5041/0.5046, allocations: 67.43 MB / 0.8088 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001564/0.5062, allocations: 1.168 MB / 0.8099 GB, free: 27.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000728/0.507, allocations: 352.2 kB / 0.8102 GB, free: 27.28 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.077e-05/0.507, allocations: 0 / 0.8102 GB, free: 27.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.195e-05/0.5071, allocations: 7.922 kB / 0.8102 GB, free: 27.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.015e-05/0.5071, allocations: 3.938 kB / 0.8102 GB, free: 27.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.5076, allocations: 75.66 kB / 0.8103 GB, free: 27.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.596e-05/0.5077, allocations: 51.83 kB / 0.8104 GB, free: 27.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.5077, allocations: 0 / 0.8104 GB, free: 27.14 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.931e-05/0.5078, allocations: 27.92 kB / 0.8104 GB, free: 27.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.582e-05/0.5078, allocations: 19.92 kB / 0.8104 GB, free: 27.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.5079, allocations: 7.984 kB / 0.8104 GB, free: 27.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003253/0.5082, allocations: 167.7 kB / 0.8106 GB, free: 26.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.5082, allocations: 11.94 kB / 0.8106 GB, free: 26.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.5083, allocations: 29.7 kB / 0.8106 GB, free: 26.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.5084, allocations: 73.94 kB / 0.8107 GB, free: 26.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5085, allocations: 0 / 0.8107 GB, free: 26.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5085, allocations: 0 / 0.8107 GB, free: 26.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.5085, allocations: 0 / 0.8107 GB, free: 26.81 MB / 378.7 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.0006323/0.5091, allocations: 383.1 kB / 0.811 GB, free: 26.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.5092, allocations: 8.031 kB / 0.8111 GB, free: 26.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.5092, allocations: 7.906 kB / 0.8111 GB, free: 26.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.459e-05/0.5093, allocations: 167 kB / 0.8112 GB, free: 26.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.5094, allocations: 8 kB / 0.8112 GB, free: 26.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.5094, allocations: 8 kB / 0.8112 GB, free: 26.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.5098, allocations: 85.61 kB / 0.8113 GB, free: 26.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.5098, allocations: 0 / 0.8113 GB, free: 26.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.5098, allocations: 0 / 0.8113 GB, free: 26.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.5098, allocations: 4 kB / 0.8113 GB, free: 26.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004137/0.5103, allocations: 55.95 kB / 0.8114 GB, free: 26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007052/0.511, allocations: 336.6 kB / 0.8117 GB, free: 25.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004669/0.5115, allocations: 86.53 kB / 0.8118 GB, free: 25.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.5117, allocations: 40.75 kB / 0.8118 GB, free: 25.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.5117, allocations: 4 kB / 0.8118 GB, free: 25.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.5118, allocations: 38.5 kB / 0.8119 GB, free: 25.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.294e-06/0.5118, allocations: 4 kB / 0.8119 GB, free: 25.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.00235/0.5141, allocations: 0.6619 MB / 0.8125 GB, free: 24.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.5142, allocations: 55.41 kB / 0.8126 GB, free: 24.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.687e-05/0.5143, allocations: 101.9 kB / 0.8127 GB, free: 24.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.5143, allocations: 29.69 kB / 0.8127 GB, free: 24.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.403e-05/0.5144, allocations: 95.98 kB / 0.8128 GB, free: 24.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.5144, allocations: 35.45 kB / 0.8128 GB, free: 24.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.5144, allocations: 0 / 0.8128 GB, free: 24.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.66e-05/0.5145, allocations: 318.8 kB / 0.8131 GB, free: 24.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.5147, allocations: 43.97 kB / 0.8132 GB, free: 23.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.515, allocations: 30.36 kB / 0.8132 GB, free: 23.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.5152, allocations: 39.98 kB / 0.8132 GB, free: 23.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5152, allocations: 0 / 0.8132 GB, free: 23.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005408/0.5158, allocations: 129.6 kB / 0.8134 GB, free: 23.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.5158, allocations: 4 kB / 0.8134 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.5158, allocations: 4 kB / 0.8134 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.5159, allocations: 0 / 0.8134 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.5161, allocations: 27.97 kB / 0.8134 GB, free: 23.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.5161, allocations: 7.984 kB / 0.8134 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.5163, allocations: 4 kB / 0.8134 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.5163, allocations: 12 kB / 0.8134 GB, free: 23.71 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.797e-05/0.5164, allocations: 117.7 kB / 0.8135 GB, free: 23.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.5165, allocations: 11.92 kB / 0.8135 GB, free: 23.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005955/0.5171, allocations: 137.5 kB / 0.8137 GB, free: 23.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.5171, allocations: 4 kB / 0.8137 GB, free: 23.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5171, allocations: 4 kB / 0.8137 GB, free: 23.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.5172, allocations: 81.09 kB / 0.8137 GB, free: 23.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.5172, allocations: 0 / 0.8137 GB, free: 23.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.5174, allocations: 12 kB / 0.8138 GB, free: 23.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.5174, allocations: 11.94 kB / 0.8138 GB, free: 23.31 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007804/0.5182, allocations: 216.8 kB / 0.814 GB, free: 23.09 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009763/0.5192, allocations: 338.7 kB / 0.8143 GB, free: 22.75 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002661/0.5195, allocations: 43.94 kB / 0.8143 GB, free: 22.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.658e-05/0.5196, allocations: 87.27 kB / 0.8144 GB, free: 22.62 MB / 378.7 MB Notification: Performance of Backend: time 6.22e-07/0.5196, allocations: 0 / 0.8144 GB, free: 22.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007921/0.5204, allocations: 164.1 kB / 0.8146 GB, free: 22.45 MB / 378.7 MB Notification: Performance of SimCode: time 0.0007862/0.5212, allocations: 0.7951 MB / 0.8154 GB, free: 21.6 MB / 378.7 MB Notification: Performance of Templates: time 0.005101/0.5263, allocations: 1.263 MB / 0.8166 GB, free: 20.38 MB / 378.7 MB