Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 80.39 kB / 20.97 MB, free: 3.574 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 165 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9916/0.9916, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5729/0.5729, allocations: 110.3 MB / 371.3 MB, free: 12.53 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 475.2 MB, free: 15.22 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.395e-05, allocations: 3.516 kB / 475.2 MB, free: 15.22 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.004829/0.004853, allocations: 1.334 MB / 476.5 MB, free: 14.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007556/0.005608, allocations: 0.5907 MB / 477.1 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.746e-05/0.005636, allocations: 0.75 kB / 477.1 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.005656, allocations: 7.219 kB / 477.1 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.387e-05/0.00569, allocations: 5.844 kB / 477.1 MB, free: 13.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.006149, allocations: 152.2 kB / 477.3 MB, free: 13.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.919e-05/0.006208, allocations: 24.53 kB / 477.3 MB, free: 13.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.643e-05/0.006244, allocations: 0.7812 kB / 477.3 MB, free: 13.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.584e-05/0.00628, allocations: 25.89 kB / 477.3 MB, free: 13.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.051e-05/0.006331, allocations: 6.719 kB / 477.3 MB, free: 13.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.006345, allocations: 2.625 kB / 477.3 MB, free: 13.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/0.006662, allocations: 278.5 kB / 477.6 MB, free: 13.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.006677, allocations: 8.672 kB / 477.6 MB, free: 13.78 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.006699, allocations: 12.53 kB / 477.6 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.00691, allocations: 161.1 kB / 477.8 MB, free: 13.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.006913, allocations: 2.625 kB / 477.8 MB, free: 13.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006913, allocations: 0 / 477.8 MB, free: 13.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.006917, allocations: 0 / 477.8 MB, free: 13.72 MB / 410.7 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.0002932/0.00721, allocations: 404.6 kB / 478.2 MB, free: 13.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.007245, allocations: 10.5 kB / 478.2 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.007285, allocations: 7.562 kB / 478.2 MB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.497e-05/0.00735, allocations: 107.2 kB / 478.3 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.007362, allocations: 3 kB / 478.3 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.007384, allocations: 7.219 kB / 478.3 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003111/0.0105, allocations: 102.6 kB / 478.4 MB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.01051, allocations: 4.141 kB / 478.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.01052, allocations: 7 kB / 478.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.01053, allocations: 4.359 kB / 478.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.58e-05/0.01056, allocations: 16.23 kB / 478.4 MB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/0.01068, allocations: 124.2 kB / 478.6 MB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.966e-05/0.01077, allocations: 55.48 kB / 478.6 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/0.0108, allocations: 29.36 kB / 478.6 MB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.01082, allocations: 4.125 kB / 478.6 MB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.01083, allocations: 37.62 kB / 478.7 MB, free: 12.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.01083, allocations: 2.625 kB / 478.7 MB, free: 12.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007815/0.01162, allocations: 448.4 kB / 479.1 MB, free: 12.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.01164, allocations: 54.03 kB / 479.2 MB, free: 12.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.556e-05/0.01168, allocations: 153.8 kB / 479.3 MB, free: 12.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.01169, allocations: 29.7 kB / 479.4 MB, free: 12.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.01186, allocations: 132.6 kB / 479.5 MB, free: 28.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.01189, allocations: 39.38 kB / 479.5 MB, free: 28.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.01193, allocations: 34.36 kB / 479.6 MB, free: 28.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.722e-05/0.01203, allocations: 0.4903 MB / 480 MB, free: 27.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.804e-05/0.01205, allocations: 8.531 kB / 480.1 MB, free: 27.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-05/0.01208, allocations: 24.41 kB / 480.1 MB, free: 27.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.493e-05/0.01215, allocations: 55.55 kB / 480.1 MB, free: 27.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01215, allocations: 0 / 480.1 MB, free: 27.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001049/0.01225, allocations: 88.67 kB / 480.2 MB, free: 27.44 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.01226, allocations: 5.5 kB / 480.2 MB, free: 27.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.01227, allocations: 4.656 kB / 480.2 MB, free: 27.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.01228, allocations: 5.219 kB / 480.2 MB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.599e-05/0.01237, allocations: 24.39 kB / 480.3 MB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.01237, allocations: 2.656 kB / 480.3 MB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.072e-05/0.01239, allocations: 0 / 480.3 MB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.0124, allocations: 3.312 kB / 480.3 MB, free: 27.43 MB / 426.7 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 6.039e-05/0.01246, allocations: 160.7 kB / 480.4 MB, free: 27.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.01247, allocations: 9.469 kB / 480.4 MB, free: 27.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.0126, allocations: 100.4 kB / 480.5 MB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01261, allocations: 4.844 kB / 480.5 MB, free: 27.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.01261, allocations: 0 / 480.5 MB, free: 27.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.01261, allocations: 3.234 kB / 480.5 MB, free: 27.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.01287, allocations: 343.6 kB / 480.9 MB, free: 26.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01287, allocations: 0 / 480.9 MB, free: 26.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.053e-05/0.01295, allocations: 25.94 kB / 480.9 MB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01296, allocations: 3.938 kB / 480.9 MB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.01296, allocations: 6.781 kB / 480.9 MB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01297, allocations: 0.8125 kB / 480.9 MB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01297, allocations: 0 / 480.9 MB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.01314, allocations: 249.8 kB / 481.1 MB, free: 26.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-06/0.01314, allocations: 6.609 kB / 481.2 MB, free: 26.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.01315, allocations: 3.938 kB / 481.2 MB, free: 26.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.206e-05/0.01322, allocations: 2.875 kB / 481.2 MB, free: 26.67 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.01324, allocations: 10 kB / 481.2 MB, free: 26.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-06/0.01324, allocations: 7.688 kB / 481.2 MB, free: 26.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.411e-05/0.01328, allocations: 125.8 kB / 481.3 MB, free: 26.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01328, allocations: 0 / 481.3 MB, free: 26.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003258/0.01653, allocations: 40 kB / 481.3 MB, free: 26.53 MB / 426.7 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.0001486/0.01668, allocations: 143.5 kB / 481.5 MB, free: 26.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.01679, allocations: 55.62 kB / 481.5 MB, free: 26.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.0168, allocations: 0.7188 kB / 481.5 MB, free: 26.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.51e-05/0.01683, allocations: 41.72 kB / 481.6 MB, free: 26.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.01704, allocations: 8.031 kB / 481.6 MB, free: 26.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/0.01759, allocations: 245 kB / 481.8 MB, free: 26.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.923e-05/0.01762, allocations: 64.48 kB / 481.9 MB, free: 26.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.656e-05/0.01765, allocations: 12.34 kB / 481.9 MB, free: 26.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.01767, allocations: 13.59 kB / 481.9 MB, free: 26.13 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01768, allocations: 0 / 481.9 MB, free: 26.13 MB / 426.7 MB Notification: Performance of Templates: time 0.00579/0.02347, allocations: 0.9691 MB / 482.9 MB, free: 26.08 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6611816328950226]