Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 107.8 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001373, allocations: 192 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8173/0.8173, allocations: 125.4 MB / 416.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 71.88 kB / 0.4942 GB, free: 4.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.417, allocations: 78.55 MB / 0.5709 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00338/0.4204, allocations: 1.262 MB / 0.5721 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.4219, allocations: 0.6039 MB / 0.5727 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.422, allocations: 1.062 kB / 0.5727 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.078e-05/0.422, allocations: 4.547 kB / 0.5727 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.829e-05/0.4221, allocations: 8.531 kB / 0.5727 GB, free: 30.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009476/0.4231, allocations: 144.4 kB / 0.5728 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.971e-05/0.4232, allocations: 19.88 kB / 0.5729 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.353e-05/0.4232, allocations: 4.344 kB / 0.5729 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.424e-05/0.4233, allocations: 13.53 kB / 0.5729 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.657e-05/0.4234, allocations: 12.69 kB / 0.5729 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.4234, allocations: 0.9688 kB / 0.5729 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009253/0.4243, allocations: 340.4 kB / 0.5732 GB, free: 30.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.4244, allocations: 6.031 kB / 0.5732 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.4244, allocations: 8.094 kB / 0.5732 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004103/0.4248, allocations: 147.4 kB / 0.5734 GB, free: 30.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4249, allocations: 2.797 kB / 0.5734 GB, free: 30.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4249, allocations: 0 / 0.5734 GB, free: 30.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.4249, allocations: 0.75 kB / 0.5734 GB, free: 30.04 MB / 446.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.0004511/0.4254, allocations: 362.5 kB / 0.5737 GB, free: 29.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4254, allocations: 10.19 kB / 0.5737 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.4255, allocations: 3.984 kB / 0.5737 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.653e-05/0.4256, allocations: 175 kB / 0.5739 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.4256, allocations: 1.562 kB / 0.5739 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.4256, allocations: 3.562 kB / 0.5739 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.4258, allocations: 43.59 kB / 0.5739 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4258, allocations: 1.156 kB / 0.5739 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.4258, allocations: 1.438 kB / 0.5739 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.4258, allocations: 0 / 0.5739 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.743e-05/0.4259, allocations: 13.73 kB / 0.574 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.4261, allocations: 158.8 kB / 0.5741 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.4263, allocations: 44.8 kB / 0.5741 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.4264, allocations: 18.17 kB / 0.5742 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.4264, allocations: 6.812 kB / 0.5742 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.4265, allocations: 36.41 kB / 0.5742 GB, free: 29.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.4265, allocations: 0 / 0.5742 GB, free: 29.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007526/0.4272, allocations: 307 kB / 0.5745 GB, free: 28.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.4273, allocations: 52.59 kB / 0.5746 GB, free: 28.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.527e-05/0.4274, allocations: 102.2 kB / 0.5746 GB, free: 28.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.4274, allocations: 33.58 kB / 0.5747 GB, free: 28.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.15e-05/0.4274, allocations: 81.78 kB / 0.5748 GB, free: 28.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.4275, allocations: 23.55 kB / 0.5748 GB, free: 28.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/0.4275, allocations: 20.8 kB / 0.5748 GB, free: 28.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.664e-05/0.4276, allocations: 323.2 kB / 0.5751 GB, free: 28.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/0.4276, allocations: 7.578 kB / 0.5751 GB, free: 28.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.956e-05/0.4277, allocations: 12.08 kB / 0.5751 GB, free: 28.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.381e-05/0.4278, allocations: 33.61 kB / 0.5752 GB, free: 28.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4278, allocations: 1 kB / 0.5752 GB, free: 28.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000159/0.428, allocations: 72.03 kB / 0.5752 GB, free: 28.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.428, allocations: 6.875 kB / 0.5752 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.428, allocations: 0 / 0.5752 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4281, allocations: 2.391 kB / 0.5752 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.879e-05/0.4282, allocations: 14.89 kB / 0.5753 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.4282, allocations: 2.375 kB / 0.5753 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.997e-05/0.4282, allocations: 1.797 kB / 0.5753 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.4282, allocations: 5.156 kB / 0.5753 GB, free: 28.12 MB / 446.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 5.85e-05/0.4283, allocations: 109.5 kB / 0.5754 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.4283, allocations: 7.188 kB / 0.5754 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.4285, allocations: 72.75 kB / 0.5754 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4285, allocations: 5.391 kB / 0.5754 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4286, allocations: 1.391 kB / 0.5754 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4286, allocations: 1.688 kB / 0.5754 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.429, allocations: 314 kB / 0.5757 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.429, allocations: 0.625 kB / 0.5757 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.4291, allocations: 14.98 kB / 0.5758 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.4291, allocations: 3.125 kB / 0.5758 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.4291, allocations: 1.531 kB / 0.5758 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.4292, allocations: 0.6562 kB / 0.5758 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4292, allocations: 1.938 kB / 0.5758 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.4294, allocations: 183.3 kB / 0.5759 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.4295, allocations: 81.05 kB / 0.576 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.4295, allocations: 1.062 kB / 0.576 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.4296, allocations: 7.953 kB / 0.576 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.4297, allocations: 3.719 kB / 0.576 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.4297, allocations: 7.031 kB / 0.576 GB, free: 27.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.912e-05/0.4297, allocations: 82.94 kB / 0.5761 GB, free: 27.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.92e-07/0.4298, allocations: 1.094 kB / 0.5761 GB, free: 27.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004852/0.4303, allocations: 32.17 kB / 0.5762 GB, free: 27.26 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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 0.0002593/0.4305, allocations: 122.7 kB / 0.5763 GB, free: 27.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.4307, allocations: 36.42 kB / 0.5763 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4307, allocations: 0 / 0.5763 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.06e-05/0.4308, allocations: 25.81 kB / 0.5763 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.4312, allocations: 4.234 kB / 0.5763 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006066/0.4319, allocations: 198.9 kB / 0.5765 GB, free: 27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.432, allocations: 0.6798 MB / 0.5772 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.463e-05/0.4321, allocations: 5.203 kB / 0.5772 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.4321, allocations: 11.53 kB / 0.5772 GB, free: 26.3 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4321, allocations: 0.75 kB / 0.5772 GB, free: 26.3 MB / 446.1 MB Notification: Performance of Templates: time 0.005409/0.4375, allocations: 0.6247 MB / 0.5778 GB, free: 26.26 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)