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_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00218/0.00218, allocations: 188.1 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.6992/0.6992, allocations: 82.92 MB / 99.42 MB, free: 3.176 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.2/2.2, allocations: 205.4 MB / 325.4 MB, free: 3.305 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001031, allocations: 89.48 kB / 393.6 MB, free: 15.08 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004527/0.0004531, allocations: 12 kB / 471.5 MB, free: 66.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08894/0.08942, allocations: 67.46 MB / 0.5264 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001531/0.091, allocations: 0.9704 MB / 0.5273 GB, free: 14.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007029/0.09174, allocations: 324.8 kB / 0.5276 GB, free: 13.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.653e-05/0.09177, allocations: 0 / 0.5276 GB, free: 13.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.291e-05/0.0918, allocations: 0 / 0.5276 GB, free: 13.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.326e-05/0.09184, allocations: 3.984 kB / 0.5276 GB, free: 13.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.09223, allocations: 71.77 kB / 0.5277 GB, free: 13.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.834e-05/0.0923, allocations: 15.92 kB / 0.5277 GB, free: 13.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.573e-05/0.09234, allocations: 0 / 0.5277 GB, free: 13.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.215e-05/0.09239, allocations: 8 kB / 0.5277 GB, free: 13.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.824e-05/0.09244, allocations: 11.92 kB / 0.5277 GB, free: 13.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.09247, allocations: 0 / 0.5277 GB, free: 13.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.09286, allocations: 179.7 kB / 0.5279 GB, free: 13.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.09289, allocations: 3.938 kB / 0.5279 GB, free: 13.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.09294, allocations: 29.7 kB / 0.5279 GB, free: 13.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.0931, allocations: 56.16 kB / 0.528 GB, free: 13.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.09312, allocations: 4 kB / 0.528 GB, free: 13.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.196e-06/0.09313, allocations: 0 / 0.528 GB, free: 13.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.775e-06/0.09314, allocations: 0 / 0.528 GB, free: 13.37 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004179/0.09357, allocations: 344.1 kB / 0.5283 GB, free: 12.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.09361, allocations: 8.031 kB / 0.5283 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.09366, allocations: 0 / 0.5283 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.09381, allocations: 167.1 kB / 0.5285 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.09383, allocations: 0 / 0.5285 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.09386, allocations: 0 / 0.5285 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.09398, allocations: 49.64 kB / 0.5285 GB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.342e-06/0.09401, allocations: 3.938 kB / 0.5285 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.667e-06/0.09402, allocations: 0 / 0.5285 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.584e-06/0.09404, allocations: 0 / 0.5285 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.687e-05/0.09409, allocations: 12 kB / 0.5286 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.0943, allocations: 153.7 kB / 0.5287 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.09453, allocations: 46.59 kB / 0.5287 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.09457, allocations: 8 kB / 0.5288 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.09461, allocations: 34.5 kB / 0.5288 GB, free: 12.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.102e-06/0.09462, allocations: 3.938 kB / 0.5288 GB, free: 12.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007321/0.09536, allocations: 314.2 kB / 0.5291 GB, free: 12.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.09543, allocations: 51.41 kB / 0.5291 GB, free: 11.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.521e-05/0.09553, allocations: 97.86 kB / 0.5292 GB, free: 11.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.09557, allocations: 29.7 kB / 0.5293 GB, free: 11.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.09563, allocations: 88.12 kB / 0.5293 GB, free: 11.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.09567, allocations: 11.81 kB / 0.5294 GB, free: 11.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-06/0.09569, allocations: 0 / 0.5294 GB, free: 11.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.09586, allocations: 322.8 kB / 0.5297 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.569e-05/0.0959, allocations: 11.98 kB / 0.5297 GB, free: 11.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.893e-05/0.09594, allocations: 8 kB / 0.5297 GB, free: 11.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.294e-05/0.096, allocations: 16 kB / 0.5297 GB, free: 11.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-06/0.09601, allocations: 0 / 0.5297 GB, free: 11.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001467/0.09616, allocations: 69.69 kB / 0.5298 GB, free: 11.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.0962, allocations: 8 kB / 0.5298 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.887e-06/0.09621, allocations: 80 / 0.5298 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.09623, allocations: 3.953 kB / 0.5298 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.016e-05/0.09631, allocations: 11.98 kB / 0.5298 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.042e-06/0.09633, allocations: 3.984 kB / 0.5298 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.781e-05/0.09637, allocations: 4 kB / 0.5298 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.09639, allocations: 4 kB / 0.5298 GB, free: 11.26 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 (7): * Single equations (assignments): 7 * 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 0.0001114/0.09651, allocations: 109.8 kB / 0.5299 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.09654, allocations: 4 kB / 0.5299 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.09672, allocations: 77.58 kB / 0.53 GB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.682e-06/0.09675, allocations: 3.953 kB / 0.53 GB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.297e-06/0.09676, allocations: 4 kB / 0.53 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.883e-06/0.09677, allocations: 0 / 0.53 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.0972, allocations: 315.5 kB / 0.5303 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.912e-06/0.09722, allocations: 0 / 0.5303 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.191e-05/0.09731, allocations: 8 kB / 0.5303 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.09733, allocations: 7.953 kB / 0.5303 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.09736, allocations: 8.016 kB / 0.5303 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.738e-06/0.09737, allocations: 0 / 0.5303 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.87e-06/0.09738, allocations: 0 / 0.5303 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.09764, allocations: 186.1 kB / 0.5305 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.12e-05/0.09773, allocations: 88.98 kB / 0.5306 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.09776, allocations: 8 kB / 0.5306 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.722e-05/0.09787, allocations: 4.062 kB / 0.5306 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.0979, allocations: 0 / 0.5306 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.24e-06/0.09792, allocations: 7.938 kB / 0.5306 GB, free: 10.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.336e-05/0.09798, allocations: 83.78 kB / 0.5307 GB, free: 10.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.59e-07/0.098, allocations: 0 / 0.5307 GB, free: 10.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003377/0.09834, allocations: 23.94 kB / 0.5307 GB, free: 10.23 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002062/0.09856, allocations: 119.2 kB / 0.5308 GB, free: 10.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.0987, allocations: 39.92 kB / 0.5309 GB, free: 10.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.09872, allocations: 4 kB / 0.5309 GB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.989e-05/0.09876, allocations: 12 kB / 0.5309 GB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.09895, allocations: 4 kB / 0.5309 GB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/0.09947, allocations: 229.9 kB / 0.5311 GB, free: 9.785 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.09985, allocations: 0.6819 MB / 0.5318 GB, free: 9.078 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.364e-05/0.0999, allocations: 4 kB / 0.5318 GB, free: 9.074 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.09994, allocations: 15.42 kB / 0.5318 GB, free: 9.059 MB / 378.7 MB Notification: Performance of SimCode: time 1.364e-06/0.09995, allocations: 4 kB / 0.5318 GB, free: 9.055 MB / 378.7 MB Notification: Performance of Templates: time 0.00333/0.1033, allocations: 0.6003 MB / 0.5324 GB, free: 8.477 MB / 378.7 MB