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.001156/0.001157, allocations: 107.7 kB / 17.03 MB, free: 5.656 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.001031/0.001031, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.326/1.326, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7112/0.7112, allocations: 115.1 MB / 406.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 71.88 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3058, allocations: 76.14 MB / 0.5576 GB, free: 36.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002025/0.3078, allocations: 1.269 MB / 0.5588 GB, free: 36.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000789/0.3086, allocations: 0.6138 MB / 0.5594 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.3087, allocations: 0 / 0.5594 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.3087, allocations: 1.812 kB / 0.5594 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.126e-05/0.3087, allocations: 8.562 kB / 0.5594 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.3092, allocations: 156 kB / 0.5596 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.124e-05/0.3093, allocations: 29.11 kB / 0.5596 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.3093, allocations: 4.828 kB / 0.5596 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.15e-05/0.3094, allocations: 11.25 kB / 0.5596 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.246e-05/0.3094, allocations: 16.67 kB / 0.5596 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.3094, allocations: 1.938 kB / 0.5596 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004572/0.3099, allocations: 341 kB / 0.56 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.3099, allocations: 9.156 kB / 0.56 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.3099, allocations: 18.69 kB / 0.56 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.3102, allocations: 151.6 kB / 0.5601 GB, free: 35.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3102, allocations: 5.094 kB / 0.5601 GB, free: 35.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3102, allocations: 1.094 kB / 0.5601 GB, free: 35.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.3102, allocations: 0 / 0.5601 GB, free: 35.34 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.0003241/0.3105, allocations: 367.6 kB / 0.5605 GB, free: 34.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.3106, allocations: 9.062 kB / 0.5605 GB, free: 34.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.3106, allocations: 8.578 kB / 0.5605 GB, free: 34.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.656e-05/0.3107, allocations: 168.2 kB / 0.5607 GB, free: 34.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3107, allocations: 1.719 kB / 0.5607 GB, free: 34.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.3108, allocations: 7.719 kB / 0.5607 GB, free: 34.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.3109, allocations: 55.98 kB / 0.5607 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3109, allocations: 0.7969 kB / 0.5607 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3109, allocations: 5.094 kB / 0.5607 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.3109, allocations: 1.719 kB / 0.5607 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.436e-05/0.311, allocations: 21.09 kB / 0.5607 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.3111, allocations: 162.4 kB / 0.5609 GB, free: 34.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.3113, allocations: 60.95 kB / 0.561 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.312e-05/0.3113, allocations: 30.05 kB / 0.561 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.3113, allocations: 2.438 kB / 0.561 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.3114, allocations: 32.91 kB / 0.561 GB, free: 34.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3114, allocations: 0 / 0.561 GB, free: 34.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009778/0.3123, allocations: 0.5966 MB / 0.5616 GB, free: 33.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.3124, allocations: 56.22 kB / 0.5617 GB, free: 33.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.266e-05/0.3124, allocations: 94.73 kB / 0.5617 GB, free: 33.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.3125, allocations: 29.7 kB / 0.5618 GB, free: 33.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.784e-05/0.3125, allocations: 81.52 kB / 0.5619 GB, free: 33.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.3125, allocations: 36.02 kB / 0.5619 GB, free: 33.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.3126, allocations: 28.77 kB / 0.5619 GB, free: 33.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.3126, allocations: 318.7 kB / 0.5622 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.053e-05/0.3127, allocations: 19.02 kB / 0.5622 GB, free: 33.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.818e-05/0.3127, allocations: 23.41 kB / 0.5623 GB, free: 33.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.536e-05/0.3128, allocations: 57.98 kB / 0.5623 GB, free: 33.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3128, allocations: 0 / 0.5623 GB, free: 33.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001301/0.3129, allocations: 102.2 kB / 0.5624 GB, free: 33.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.313, allocations: 6.859 kB / 0.5624 GB, free: 33.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.313, allocations: 0.6562 kB / 0.5624 GB, free: 33.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.313, allocations: 0.6562 kB / 0.5624 GB, free: 33.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.3131, allocations: 24.61 kB / 0.5624 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3131, allocations: 7.188 kB / 0.5625 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.442e-05/0.3131, allocations: 9.188 kB / 0.5625 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.3132, allocations: 3.031 kB / 0.5625 GB, free: 33.13 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 5.954e-05/0.3132, allocations: 114 kB / 0.5626 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.3133, allocations: 12.41 kB / 0.5626 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.3134, allocations: 101.1 kB / 0.5627 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3134, allocations: 2.594 kB / 0.5627 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3135, allocations: 0 / 0.5627 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3135, allocations: 2.094 kB / 0.5627 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.3138, allocations: 359 kB / 0.563 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3138, allocations: 0 / 0.563 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.3139, allocations: 21.97 kB / 0.563 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3139, allocations: 1.062 kB / 0.563 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3139, allocations: 1.938 kB / 0.5631 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3139, allocations: 4.016 kB / 0.5631 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.3139, allocations: 6.906 kB / 0.5631 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.3142, allocations: 219.4 kB / 0.5633 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.98e-05/0.3142, allocations: 80.31 kB / 0.5633 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.3142, allocations: 6.062 kB / 0.5634 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-05/0.3143, allocations: 1.984 kB / 0.5634 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.071e-05/0.3143, allocations: 7.453 kB / 0.5634 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.3143, allocations: 7.969 kB / 0.5634 GB, free: 32.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.69e-05/0.3144, allocations: 78.17 kB / 0.5634 GB, free: 32.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3144, allocations: 0 / 0.5634 GB, free: 32.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.3146, allocations: 43.12 kB / 0.5635 GB, free: 32.25 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.0001684/0.3148, allocations: 131.9 kB / 0.5636 GB, free: 32.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.315, allocations: 60.97 kB / 0.5637 GB, free: 32.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.315, allocations: 0.625 kB / 0.5637 GB, free: 32.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.922e-05/0.315, allocations: 37.42 kB / 0.5637 GB, free: 32.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.3152, allocations: 12.22 kB / 0.5637 GB, free: 32.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004828/0.3157, allocations: 291.6 kB / 0.564 GB, free: 31.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.3159, allocations: 0.6854 MB / 0.5647 GB, free: 31.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.118e-05/0.3159, allocations: 7.453 kB / 0.5647 GB, free: 31.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.3159, allocations: 16.56 kB / 0.5647 GB, free: 31.25 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3159, allocations: 0 / 0.5647 GB, free: 31.25 MB / 446.1 MB Notification: Performance of Templates: time 0.003333/0.3193, allocations: 0.9473 MB / 0.5656 GB, free: 31.17 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)