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.002399/0.002399, allocations: 358.3 kB / 15.95 MB, free: 6.207 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.41/1.41, allocations: 165.8 MB / 182.5 MB, free: 5.441 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 4.016/4.016, allocations: 410.8 MB / 0.5995 GB, free: 15.17 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.001748/0.001747, allocations: 196.9 kB / 0.6662 GB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007645/0.0007647, allocations: 12 kB / 0.7423 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3851, allocations: 67.44 MB / 0.8082 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001317/0.3864, allocations: 1.172 MB / 0.8093 GB, free: 27.63 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005995/0.3871, allocations: 344.2 kB / 0.8096 GB, free: 27.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.3871, allocations: 0 / 0.8096 GB, free: 27.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.3871, allocations: 11.92 kB / 0.8096 GB, free: 27.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.75e-05/0.3872, allocations: 3.938 kB / 0.8096 GB, free: 27.28 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.3876, allocations: 75.7 kB / 0.8097 GB, free: 27.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.587e-05/0.3876, allocations: 51.83 kB / 0.8098 GB, free: 27.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.3877, allocations: 4 kB / 0.8098 GB, free: 27.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.919e-05/0.3877, allocations: 15.94 kB / 0.8098 GB, free: 27.13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.233e-05/0.3878, allocations: 27.89 kB / 0.8098 GB, free: 27.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.3878, allocations: 4 kB / 0.8098 GB, free: 27.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002606/0.3881, allocations: 167.7 kB / 0.81 GB, free: 26.94 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.3881, allocations: 12 kB / 0.81 GB, free: 26.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.007e-05/0.3882, allocations: 33.64 kB / 0.81 GB, free: 26.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.3883, allocations: 77.94 kB / 0.8101 GB, free: 26.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3883, allocations: 3.938 kB / 0.8101 GB, free: 26.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.838e-06/0.3883, allocations: 0 / 0.8101 GB, free: 26.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.913e-06/0.3883, allocations: 0 / 0.8101 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.0004619/0.3888, allocations: 371.2 kB / 0.8104 GB, free: 26.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.3889, allocations: 8.031 kB / 0.8105 GB, free: 26.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.3889, allocations: 15.89 kB / 0.8105 GB, free: 26.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.025e-05/0.389, allocations: 171 kB / 0.8106 GB, free: 26.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.389, allocations: 8 kB / 0.8106 GB, free: 26.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.3891, allocations: 8 kB / 0.8106 GB, free: 26.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.3893, allocations: 81.61 kB / 0.8107 GB, free: 26.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.3894, allocations: 0 / 0.8107 GB, free: 26.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3894, allocations: 0 / 0.8107 GB, free: 26.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.743e-06/0.3894, allocations: 0 / 0.8107 GB, free: 26.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.3897, allocations: 59.95 kB / 0.8108 GB, free: 26.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.3902, allocations: 340.6 kB / 0.8111 GB, free: 25.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.3906, allocations: 86.53 kB / 0.8112 GB, free: 25.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.3907, allocations: 36.83 kB / 0.8112 GB, free: 25.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.3908, allocations: 0 / 0.8112 GB, free: 25.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.3908, allocations: 38.56 kB / 0.8113 GB, free: 25.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.935e-06/0.3908, allocations: 0 / 0.8113 GB, free: 25.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.002025/0.3928, allocations: 0.6734 MB / 0.8119 GB, free: 24.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.3929, allocations: 51.41 kB / 0.812 GB, free: 24.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.481e-05/0.393, allocations: 101.9 kB / 0.8121 GB, free: 24.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.393, allocations: 25.7 kB / 0.8121 GB, free: 24.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.393, allocations: 95.97 kB / 0.8122 GB, free: 24.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.3931, allocations: 39.45 kB / 0.8122 GB, free: 24.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.696e-06/0.3931, allocations: 0 / 0.8122 GB, free: 24.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.134e-05/0.3931, allocations: 322.8 kB / 0.8125 GB, free: 24.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.3933, allocations: 39.97 kB / 0.8126 GB, free: 23.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.3935, allocations: 27.98 kB / 0.8126 GB, free: 23.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.3936, allocations: 44.08 kB / 0.8126 GB, free: 23.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-06/0.3937, allocations: 3.938 kB / 0.8126 GB, free: 23.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003809/0.394, allocations: 129 kB / 0.8128 GB, free: 23.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3941, allocations: 4 kB / 0.8128 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.538e-06/0.3941, allocations: 0 / 0.8128 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3941, allocations: 192 / 0.8128 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.3943, allocations: 35.97 kB / 0.8128 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.026e-06/0.3943, allocations: 0 / 0.8128 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.297e-05/0.3944, allocations: 8 kB / 0.8128 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.3944, allocations: 7.984 kB / 0.8128 GB, free: 23.72 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 7.179e-05/0.3945, allocations: 117.8 kB / 0.8129 GB, free: 23.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.3946, allocations: 11.92 kB / 0.8129 GB, free: 23.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004263/0.395, allocations: 145.5 kB / 0.8131 GB, free: 23.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.029e-06/0.395, allocations: 0 / 0.8131 GB, free: 23.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.498e-06/0.3951, allocations: 4 kB / 0.8131 GB, free: 23.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.747e-06/0.3951, allocations: 0 / 0.8131 GB, free: 23.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006147/0.3957, allocations: 398.4 kB / 0.8135 GB, free: 22.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.301e-06/0.3957, allocations: 0 / 0.8135 GB, free: 22.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.3959, allocations: 27.98 kB / 0.8135 GB, free: 22.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.951e-06/0.3959, allocations: 0 / 0.8135 GB, free: 22.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.396, allocations: 4 kB / 0.8135 GB, free: 22.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.031e-06/0.396, allocations: 0 / 0.8135 GB, free: 22.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.272e-06/0.396, allocations: 4 kB / 0.8135 GB, free: 22.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005575/0.3965, allocations: 255.4 kB / 0.8137 GB, free: 22.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.3966, allocations: 92.97 kB / 0.8138 GB, free: 22.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.3966, allocations: 4 kB / 0.8138 GB, free: 22.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.3968, allocations: 16.06 kB / 0.8138 GB, free: 22.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.3968, allocations: 3.984 kB / 0.8138 GB, free: 22.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.3969, allocations: 8 kB / 0.8139 GB, free: 22.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.884e-05/0.3969, allocations: 79.28 kB / 0.8139 GB, free: 22.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.67e-07/0.3969, allocations: 0 / 0.8139 GB, free: 22.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003633/0.3973, allocations: 43.92 kB / 0.814 GB, free: 22.43 MB / 378.7 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 (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.000197/0.3975, allocations: 131.2 kB / 0.8141 GB, free: 22.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003668/0.3979, allocations: 95.88 kB / 0.8142 GB, free: 22.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.129e-06/0.3979, allocations: 4 kB / 0.8142 GB, free: 22.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.3981, allocations: 39.98 kB / 0.8142 GB, free: 22.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.3984, allocations: 16.58 kB / 0.8142 GB, free: 22.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000706/0.3991, allocations: 381.1 kB / 0.8146 GB, free: 21.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.3993, allocations: 0.6965 MB / 0.8153 GB, free: 21.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.56e-05/0.3994, allocations: 8.672 kB / 0.8153 GB, free: 21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.3994, allocations: 11.44 kB / 0.8153 GB, free: 20.99 MB / 378.7 MB Notification: Performance of SimCode: time 1.663e-06/0.3994, allocations: 4 kB / 0.8153 GB, free: 20.98 MB / 378.7 MB Notification: Performance of Templates: time 0.004064/0.4035, allocations: 1.077 MB / 0.8164 GB, free: 19.95 MB / 378.7 MB