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.001204/0.001204, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 178.1 kB / 16.92 MB, free: 6.645 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.455/1.455, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7697/0.7697, allocations: 123 MB / 415.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003881, allocations: 8 kB / 0.4933 GB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4738/0.4742, allocations: 79.29 MB / 0.5707 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001648/0.4759, allocations: 0.9994 MB / 0.5717 GB, free: 9.875 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.4771, allocations: 0.6129 MB / 0.5723 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.74e-05/0.4771, allocations: 1.094 kB / 0.5723 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.4771, allocations: 0.5625 kB / 0.5723 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.564e-05/0.4772, allocations: 6.25 kB / 0.5723 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.4777, allocations: 130.5 kB / 0.5725 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.366e-05/0.4778, allocations: 34.17 kB / 0.5725 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.4778, allocations: 6.625 kB / 0.5725 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.65e-05/0.4778, allocations: 9.031 kB / 0.5725 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.728e-05/0.4779, allocations: 16.61 kB / 0.5725 GB, free: 9.691 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.4779, allocations: 1.812 kB / 0.5725 GB, free: 9.691 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005763/0.4785, allocations: 347 kB / 0.5729 GB, free: 9.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.4785, allocations: 2.438 kB / 0.5729 GB, free: 9.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.4786, allocations: 44.47 kB / 0.5729 GB, free: 9.547 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002823/0.4789, allocations: 155.4 kB / 0.573 GB, free: 9.496 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.4789, allocations: 0.9062 kB / 0.573 GB, free: 9.496 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4789, allocations: 3.938 kB / 0.573 GB, free: 9.492 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.4789, allocations: 0 / 0.573 GB, free: 9.492 MB / 430.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.0003567/0.4793, allocations: 363.1 kB / 0.5734 GB, free: 9.109 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4793, allocations: 9.5 kB / 0.5734 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.4793, allocations: 7.141 kB / 0.5734 GB, free: 9.105 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.114e-05/0.4794, allocations: 163.1 kB / 0.5736 GB, free: 8.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.4795, allocations: 13.86 kB / 0.5736 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.4795, allocations: 3.656 kB / 0.5736 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.4796, allocations: 50.86 kB / 0.5736 GB, free: 8.859 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.4796, allocations: 0.7969 kB / 0.5736 GB, free: 8.859 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.4797, allocations: 4.906 kB / 0.5736 GB, free: 8.855 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4797, allocations: 0.9688 kB / 0.5736 GB, free: 8.855 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.882e-05/0.4797, allocations: 18.33 kB / 0.5737 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.4799, allocations: 170.6 kB / 0.5738 GB, free: 8.648 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.48, allocations: 69.06 kB / 0.5739 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/0.4801, allocations: 29.14 kB / 0.5739 GB, free: 8.586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.4801, allocations: 1.938 kB / 0.5739 GB, free: 8.586 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.4801, allocations: 31.69 kB / 0.5739 GB, free: 8.547 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.4801, allocations: 0 / 0.5739 GB, free: 8.547 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001072/0.4812, allocations: 0.5916 MB / 0.5745 GB, free: 8.023 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.4812, allocations: 53.22 kB / 0.5746 GB, free: 7.961 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.995e-05/0.4813, allocations: 94.58 kB / 0.5747 GB, free: 7.863 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.4813, allocations: 30.64 kB / 0.5747 GB, free: 7.828 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.829e-05/0.4813, allocations: 80.98 kB / 0.5748 GB, free: 7.746 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.4814, allocations: 35.53 kB / 0.5748 GB, free: 7.719 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.4814, allocations: 22.45 kB / 0.5748 GB, free: 7.695 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.984e-05/0.4815, allocations: 318.6 kB / 0.5751 GB, free: 7.379 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.4815, allocations: 18.61 kB / 0.5751 GB, free: 7.375 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.221e-05/0.4816, allocations: 24.25 kB / 0.5752 GB, free: 7.367 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.897e-05/0.4817, allocations: 54.33 kB / 0.5752 GB, free: 7.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.4817, allocations: 1.688 kB / 0.5752 GB, free: 7.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001374/0.4818, allocations: 102.8 kB / 0.5753 GB, free: 7.277 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.4818, allocations: 7.484 kB / 0.5753 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.4818, allocations: 0 / 0.5753 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4819, allocations: 4.781 kB / 0.5753 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.482, allocations: 27.56 kB / 0.5754 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.482, allocations: 5.344 kB / 0.5754 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.773e-05/0.482, allocations: 4.75 kB / 0.5754 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.4821, allocations: 4.234 kB / 0.5754 GB, free: 7.258 MB / 430.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.852e-05/0.4821, allocations: 112.4 kB / 0.5755 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.4821, allocations: 6.688 kB / 0.5755 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.4824, allocations: 109.7 kB / 0.5756 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4824, allocations: 5.875 kB / 0.5756 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4824, allocations: 0 / 0.5756 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.4824, allocations: 2.359 kB / 0.5756 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.4827, allocations: 355.2 kB / 0.5759 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4828, allocations: 0.7812 kB / 0.5759 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.4829, allocations: 19.72 kB / 0.576 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4829, allocations: 4.531 kB / 0.576 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.4829, allocations: 2.109 kB / 0.576 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4829, allocations: 0.7188 kB / 0.576 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4829, allocations: 4.656 kB / 0.576 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.4832, allocations: 220.4 kB / 0.5762 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.4832, allocations: 81.67 kB / 0.5763 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.4832, allocations: 10.34 kB / 0.5763 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-05/0.4833, allocations: 2.141 kB / 0.5763 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.4834, allocations: 6.484 kB / 0.5763 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.4834, allocations: 3.219 kB / 0.5763 GB, free: 6.453 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.317e-05/0.4834, allocations: 86.83 kB / 0.5764 GB, free: 6.371 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4834, allocations: 0 / 0.5764 GB, free: 6.371 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002949/0.4837, allocations: 41.7 kB / 0.5764 GB, free: 6.355 MB / 430.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.0001928/0.4839, allocations: 125.5 kB / 0.5765 GB, free: 6.262 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.4841, allocations: 60.69 kB / 0.5766 GB, free: 6.246 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4841, allocations: 1.094 kB / 0.5766 GB, free: 6.246 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.205e-05/0.4841, allocations: 39.78 kB / 0.5766 GB, free: 6.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.4844, allocations: 11.92 kB / 0.5766 GB, free: 6.223 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005306/0.4849, allocations: 333.4 kB / 0.5769 GB, free: 5.969 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.485, allocations: 0.6892 MB / 0.5776 GB, free: 5.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.719e-05/0.4851, allocations: 12.52 kB / 0.5776 GB, free: 5.266 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.4851, allocations: 12.66 kB / 0.5776 GB, free: 5.258 MB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4851, allocations: 0.8125 kB / 0.5776 GB, free: 5.258 MB / 430.1 MB Notification: Performance of Templates: time 0.003689/0.4888, allocations: 0.9137 MB / 0.5785 GB, free: 5.172 MB / 430.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)