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.002753/0.002757, allocations: 358 kB / 16.59 MB, free: 5.566 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.55/1.55, allocations: 165.8 MB / 183.1 MB, free: 5.391 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.787/3.787, allocations: 410.8 MB / 0.6001 GB, free: 15.3 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.001724/0.001724, allocations: 198 kB / 0.6668 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007096/0.00071, allocations: 8 kB / 0.7429 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4199, allocations: 67.44 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00129/0.4213, allocations: 0.9833 MB / 0.8097 GB, free: 27.81 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006372/0.4219, allocations: 327.1 kB / 0.81 GB, free: 27.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.422, allocations: 7.938 kB / 0.81 GB, free: 27.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.422, allocations: 0 / 0.81 GB, free: 27.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.652e-05/0.422, allocations: 3.984 kB / 0.81 GB, free: 27.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.4224, allocations: 59.73 kB / 0.8101 GB, free: 27.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.879e-05/0.4225, allocations: 23.86 kB / 0.8101 GB, free: 27.4 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.464e-05/0.4225, allocations: 4 kB / 0.8101 GB, free: 27.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.168e-05/0.4226, allocations: 4 kB / 0.8101 GB, free: 27.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.813e-05/0.4226, allocations: 11.94 kB / 0.8101 GB, free: 27.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.4227, allocations: 0 / 0.8101 GB, free: 27.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.423, allocations: 171.6 kB / 0.8103 GB, free: 27.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.948e-06/0.423, allocations: 3.984 kB / 0.8103 GB, free: 27.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.4231, allocations: 29.7 kB / 0.8103 GB, free: 27.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.4232, allocations: 50.05 kB / 0.8104 GB, free: 27.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4232, allocations: 0 / 0.8104 GB, free: 27.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4232, allocations: 4 kB / 0.8104 GB, free: 27.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.4232, allocations: 4 kB / 0.8104 GB, free: 27.12 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.0003112/0.4235, allocations: 339.2 kB / 0.8107 GB, free: 26.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.4236, allocations: 8.031 kB / 0.8107 GB, free: 26.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.4236, allocations: 7.984 kB / 0.8107 GB, free: 26.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.383e-05/0.4237, allocations: 163 kB / 0.8109 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.4238, allocations: 0 / 0.8109 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.4238, allocations: 4 kB / 0.8109 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.4239, allocations: 45.58 kB / 0.8109 GB, free: 26.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4239, allocations: 0 / 0.8109 GB, free: 26.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.4239, allocations: 8 kB / 0.8109 GB, free: 26.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.424, allocations: 0 / 0.8109 GB, free: 26.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.531e-05/0.424, allocations: 8 kB / 0.8109 GB, free: 26.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.4242, allocations: 157.7 kB / 0.8111 GB, free: 26.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.4244, allocations: 42.61 kB / 0.8111 GB, free: 26.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.147e-05/0.4244, allocations: 24.88 kB / 0.8112 GB, free: 26.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.4245, allocations: 0 / 0.8112 GB, free: 26.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.4245, allocations: 38.55 kB / 0.8112 GB, free: 26.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.924e-06/0.4245, allocations: 0 / 0.8112 GB, free: 26.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006333/0.4251, allocations: 302.2 kB / 0.8115 GB, free: 25.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/0.4252, allocations: 59.39 kB / 0.8115 GB, free: 25.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.476e-05/0.4252, allocations: 93.86 kB / 0.8116 GB, free: 25.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.4253, allocations: 29.7 kB / 0.8117 GB, free: 25.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.076e-05/0.4253, allocations: 88.08 kB / 0.8117 GB, free: 25.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.4253, allocations: 23.64 kB / 0.8118 GB, free: 25.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.4253, allocations: 4 kB / 0.8118 GB, free: 25.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.005e-05/0.4254, allocations: 318.8 kB / 0.8121 GB, free: 25.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.397e-05/0.4254, allocations: 8 kB / 0.8121 GB, free: 25.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.111e-05/0.4255, allocations: 11.98 kB / 0.8121 GB, free: 25.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.213e-05/0.4255, allocations: 19.98 kB / 0.8121 GB, free: 25.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4255, allocations: 0 / 0.8121 GB, free: 25.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001222/0.4257, allocations: 69.53 kB / 0.8122 GB, free: 25.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.4257, allocations: 6.812 kB / 0.8122 GB, free: 25.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4257, allocations: 4 kB / 0.8122 GB, free: 25.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4257, allocations: 3.953 kB / 0.8122 GB, free: 25.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.119e-05/0.4258, allocations: 12 kB / 0.8122 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.4259, allocations: 0 / 0.8122 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.4259, allocations: 0 / 0.8122 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.4259, allocations: 4 kB / 0.8122 GB, free: 24.99 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 5.75e-05/0.426, allocations: 113.8 kB / 0.8123 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.426, allocations: 0 / 0.8123 GB, free: 24.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.4262, allocations: 73.59 kB / 0.8124 GB, free: 24.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4262, allocations: 7.953 kB / 0.8124 GB, free: 24.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4262, allocations: 128 / 0.8124 GB, free: 24.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-05/0.4263, allocations: 85.09 kB / 0.8125 GB, free: 24.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.4263, allocations: 4 kB / 0.8125 GB, free: 24.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.4264, allocations: 4 kB / 0.8125 GB, free: 24.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.4265, allocations: 3.984 kB / 0.8125 GB, free: 24.68 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002625/0.4268, allocations: 148.8 kB / 0.8126 GB, free: 24.52 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000326/0.4271, allocations: 250.8 kB / 0.8129 GB, free: 24.26 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.368e-05/0.4272, allocations: 20.02 kB / 0.8129 GB, free: 24.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.896e-05/0.4272, allocations: 75.28 kB / 0.813 GB, free: 24.17 MB / 378.7 MB Notification: Performance of Backend: time 7.71e-07/0.4273, allocations: 0 / 0.813 GB, free: 24.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005136/0.4278, allocations: 134.3 kB / 0.8131 GB, free: 24.03 MB / 378.7 MB Notification: Performance of SimCode: time 0.0004659/0.4283, allocations: 0.6511 MB / 0.8137 GB, free: 23.33 MB / 378.7 MB Notification: Performance of Templates: time 0.003829/0.4321, allocations: 0.839 MB / 0.8145 GB, free: 22.53 MB / 378.7 MB