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.001574/0.001574, allocations: 96.73 kB / 16.26 MB, free: 5.934 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.001824/0.001824, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.419/1.419, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7537/0.7537, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.91 kB / 0.4911 GB, free: 7.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3663, allocations: 77.93 MB / 0.5672 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002299/0.3687, allocations: 1.267 MB / 0.5684 GB, free: 31.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009451/0.3697, allocations: 0.6103 MB / 0.569 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.366e-05/0.3697, allocations: 0 / 0.569 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.3697, allocations: 8.438 kB / 0.569 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.214e-05/0.3698, allocations: 3.297 kB / 0.569 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.3703, allocations: 154.1 kB / 0.5692 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.511e-05/0.3704, allocations: 25.08 kB / 0.5692 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.3704, allocations: 7 kB / 0.5692 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.581e-05/0.3705, allocations: 17.16 kB / 0.5692 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.222e-05/0.3705, allocations: 11.73 kB / 0.5693 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.3705, allocations: 1.188 kB / 0.5693 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005185/0.3711, allocations: 343.2 kB / 0.5696 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.3711, allocations: 11.69 kB / 0.5696 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.3711, allocations: 16.62 kB / 0.5696 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.3714, allocations: 155.5 kB / 0.5698 GB, free: 31.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3714, allocations: 5 kB / 0.5698 GB, free: 31.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3714, allocations: 0 / 0.5698 GB, free: 31.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.768e-06/0.3714, allocations: 0.5938 kB / 0.5698 GB, free: 31.23 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.0003333/0.3718, allocations: 367 kB / 0.5701 GB, free: 30.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3718, allocations: 10.34 kB / 0.5701 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.3719, allocations: 4.266 kB / 0.5701 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.629e-05/0.3719, allocations: 166.5 kB / 0.5703 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.372, allocations: 7.25 kB / 0.5703 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.372, allocations: 8.469 kB / 0.5703 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.3721, allocations: 49.98 kB / 0.5703 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3721, allocations: 0.8438 kB / 0.5703 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3721, allocations: 7.703 kB / 0.5704 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3721, allocations: 0.9688 kB / 0.5704 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.442e-05/0.3722, allocations: 19.75 kB / 0.5704 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.3723, allocations: 166.1 kB / 0.5705 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.3725, allocations: 65.31 kB / 0.5706 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.3725, allocations: 29.06 kB / 0.5706 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.3725, allocations: 2.906 kB / 0.5706 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.3726, allocations: 33.72 kB / 0.5707 GB, free: 30.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.3726, allocations: 0 / 0.5707 GB, free: 30.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.00101/0.3736, allocations: 0.5867 MB / 0.5712 GB, free: 29.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/0.3736, allocations: 53.42 kB / 0.5713 GB, free: 29.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.406e-05/0.3737, allocations: 94.98 kB / 0.5714 GB, free: 29.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.3737, allocations: 30.8 kB / 0.5714 GB, free: 29.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.447e-05/0.3737, allocations: 83.39 kB / 0.5715 GB, free: 29.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.3737, allocations: 38.53 kB / 0.5715 GB, free: 29.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.3738, allocations: 29.61 kB / 0.5715 GB, free: 29.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.25e-05/0.3738, allocations: 322 kB / 0.5719 GB, free: 29.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.201e-05/0.3739, allocations: 18.78 kB / 0.5719 GB, free: 29.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.82e-05/0.3739, allocations: 24.38 kB / 0.5719 GB, free: 29.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.47e-05/0.374, allocations: 60.42 kB / 0.572 GB, free: 29.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.374, allocations: 0 / 0.572 GB, free: 29.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000135/0.3742, allocations: 100.9 kB / 0.572 GB, free: 29.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3742, allocations: 9.656 kB / 0.5721 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3742, allocations: 5.641 kB / 0.5721 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3742, allocations: 5.375 kB / 0.5721 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.3743, allocations: 23.62 kB / 0.5721 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3743, allocations: 1.812 kB / 0.5721 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.476e-05/0.3744, allocations: 7.016 kB / 0.5721 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.3744, allocations: 1.562 kB / 0.5721 GB, free: 29.01 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.861e-05/0.3744, allocations: 114.2 kB / 0.5722 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.3744, allocations: 8.75 kB / 0.5722 GB, free: 28.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.3746, allocations: 105.1 kB / 0.5723 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3746, allocations: 3.125 kB / 0.5723 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3747, allocations: 0 / 0.5723 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3747, allocations: 0.7031 kB / 0.5723 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.375, allocations: 354.4 kB / 0.5727 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.375, allocations: 0.6562 kB / 0.5727 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.3751, allocations: 24.59 kB / 0.5727 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3751, allocations: 1.531 kB / 0.5727 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.3751, allocations: 1.922 kB / 0.5727 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3752, allocations: 0 / 0.5727 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3752, allocations: 1.5 kB / 0.5727 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.3754, allocations: 219.2 kB / 0.5729 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.3754, allocations: 83.92 kB / 0.573 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.3754, allocations: 4.656 kB / 0.573 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.841e-05/0.3755, allocations: 3.484 kB / 0.573 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.3756, allocations: 6.875 kB / 0.573 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.3756, allocations: 8.125 kB / 0.573 GB, free: 28.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.958e-05/0.3756, allocations: 80.09 kB / 0.5731 GB, free: 28.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3756, allocations: 3.938 kB / 0.5731 GB, free: 28.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.3759, allocations: 41.66 kB / 0.5731 GB, free: 28.13 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.0001884/0.3761, allocations: 126.8 kB / 0.5732 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.3762, allocations: 75.86 kB / 0.5733 GB, free: 28.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3762, allocations: 3.938 kB / 0.5733 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.916e-05/0.3763, allocations: 29.41 kB / 0.5733 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.3765, allocations: 7.781 kB / 0.5734 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004941/0.377, allocations: 278.5 kB / 0.5736 GB, free: 27.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.3771, allocations: 0.6851 MB / 0.5743 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.683e-05/0.3772, allocations: 19.09 kB / 0.5743 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.3772, allocations: 13.81 kB / 0.5743 GB, free: 27.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3772, allocations: 0 / 0.5743 GB, free: 27.12 MB / 446.1 MB Notification: Performance of Templates: time 0.003168/0.3804, allocations: 0.9435 MB / 0.5752 GB, free: 27.04 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)