Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.001549, allocations: 108.6 kB / 15.99 MB, free: 6.352 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.001586/0.001586, allocations: 190.7 kB / 16.91 MB, free: 6.195 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.442/1.442, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8759/0.8759, allocations: 126.7 MB / 417.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.91 kB / 0.4953 GB, free: 3.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3388, allocations: 78.86 MB / 0.5723 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002185/0.3411, allocations: 1.333 MB / 0.5736 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008665/0.3419, allocations: 0.6086 MB / 0.5742 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.342, allocations: 1.719 kB / 0.5742 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.208e-05/0.342, allocations: 4.641 kB / 0.5742 GB, free: 28.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.542e-05/0.3421, allocations: 1.438 kB / 0.5742 GB, free: 28.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.3426, allocations: 132.7 kB / 0.5743 GB, free: 28.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.125e-05/0.3426, allocations: 29.81 kB / 0.5743 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.628e-05/0.3427, allocations: 2.156 kB / 0.5743 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.11e-05/0.3427, allocations: 8.234 kB / 0.5743 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.515e-05/0.3428, allocations: 17.12 kB / 0.5744 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.3428, allocations: 3.656 kB / 0.5744 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004673/0.3432, allocations: 344.7 kB / 0.5747 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.3433, allocations: 11.48 kB / 0.5747 GB, free: 28.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.3433, allocations: 14.73 kB / 0.5747 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.3435, allocations: 151.2 kB / 0.5749 GB, free: 28.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3436, allocations: 0 / 0.5749 GB, free: 28.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3436, allocations: 1.875 kB / 0.5749 GB, free: 28.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.3436, allocations: 0 / 0.5749 GB, free: 28.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003384/0.3439, allocations: 366.8 kB / 0.5752 GB, free: 28.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.344, allocations: 10.78 kB / 0.5752 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.344, allocations: 3.156 kB / 0.5752 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.552e-05/0.3441, allocations: 172.4 kB / 0.5754 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3441, allocations: 2.156 kB / 0.5754 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.3441, allocations: 9.094 kB / 0.5754 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.3442, allocations: 53.47 kB / 0.5755 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3442, allocations: 5.891 kB / 0.5755 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.3443, allocations: 5.125 kB / 0.5755 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.3443, allocations: 5.109 kB / 0.5755 GB, free: 28.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.952e-05/0.3443, allocations: 19.36 kB / 0.5755 GB, free: 28.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.3444, allocations: 167.3 kB / 0.5756 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.908e-05/0.3446, allocations: 61.8 kB / 0.5757 GB, free: 27.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.3446, allocations: 29.58 kB / 0.5757 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3446, allocations: 1.281 kB / 0.5757 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.3446, allocations: 41.95 kB / 0.5758 GB, free: 27.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3447, allocations: 1.594 kB / 0.5758 GB, free: 27.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009592/0.3456, allocations: 0.5884 MB / 0.5763 GB, free: 27.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.3457, allocations: 52.78 kB / 0.5764 GB, free: 27.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.229e-05/0.3457, allocations: 95.44 kB / 0.5765 GB, free: 27.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.3457, allocations: 31.08 kB / 0.5765 GB, free: 27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.261e-05/0.3457, allocations: 82.12 kB / 0.5766 GB, free: 26.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.3458, allocations: 35.48 kB / 0.5766 GB, free: 26.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.3458, allocations: 28.69 kB / 0.5767 GB, free: 26.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.703e-05/0.3459, allocations: 319.6 kB / 0.577 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.882e-05/0.3459, allocations: 18.78 kB / 0.577 GB, free: 26.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.581e-05/0.3459, allocations: 23.47 kB / 0.577 GB, free: 26.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.847e-05/0.346, allocations: 59.27 kB / 0.5771 GB, free: 26.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.346, allocations: 8.875 kB / 0.5771 GB, free: 26.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001323/0.3462, allocations: 100.2 kB / 0.5772 GB, free: 26.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.3462, allocations: 8.031 kB / 0.5772 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3462, allocations: 1.531 kB / 0.5772 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3462, allocations: 1.5 kB / 0.5772 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.3463, allocations: 28.73 kB / 0.5772 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3463, allocations: 0.6562 kB / 0.5772 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.422e-05/0.3464, allocations: 2.844 kB / 0.5772 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.3464, allocations: 6.312 kB / 0.5772 GB, free: 26.44 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 (13): * Single equations (assignments): 13 * 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 4.921e-05/0.3464, allocations: 118.6 kB / 0.5773 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.3465, allocations: 3.75 kB / 0.5773 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.3466, allocations: 106.3 kB / 0.5774 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3467, allocations: 1.062 kB / 0.5774 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3467, allocations: 1.094 kB / 0.5774 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3467, allocations: 2.062 kB / 0.5774 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.347, allocations: 356 kB / 0.5778 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.347, allocations: 2.656 kB / 0.5778 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.3471, allocations: 23.3 kB / 0.5778 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3471, allocations: 0.9375 kB / 0.5778 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.3471, allocations: 5.125 kB / 0.5778 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3471, allocations: 4.984 kB / 0.5778 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3471, allocations: 0.7969 kB / 0.5778 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.3473, allocations: 217.8 kB / 0.578 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.3474, allocations: 83.52 kB / 0.5781 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.3474, allocations: 0.7031 kB / 0.5781 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.006e-05/0.3475, allocations: 6.953 kB / 0.5781 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.3475, allocations: 5.656 kB / 0.5781 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.3475, allocations: 8.484 kB / 0.5781 GB, free: 25.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.761e-05/0.3475, allocations: 85.25 kB / 0.5782 GB, free: 25.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3475, allocations: 0 / 0.5782 GB, free: 25.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.3478, allocations: 32.77 kB / 0.5782 GB, free: 25.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.000161/0.348, allocations: 143 kB / 0.5784 GB, free: 25.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.3481, allocations: 67.12 kB / 0.5784 GB, free: 25.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3482, allocations: 0 / 0.5784 GB, free: 25.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.576e-05/0.3482, allocations: 34.33 kB / 0.5785 GB, free: 25.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.3484, allocations: 7.031 kB / 0.5785 GB, free: 25.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/0.3489, allocations: 299.4 kB / 0.5788 GB, free: 25.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.996e-05/0.349, allocations: 0.6929 MB / 0.5794 GB, free: 24.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.483e-05/0.349, allocations: 9.969 kB / 0.5794 GB, free: 24.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.3491, allocations: 13.69 kB / 0.5795 GB, free: 24.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3491, allocations: 0 / 0.5795 GB, free: 24.52 MB / 446.1 MB Notification: Performance of Templates: time 0.003402/0.3525, allocations: 0.9418 MB / 0.5804 GB, free: 24.43 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)