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.00134/0.00134, allocations: 79.73 kB / 20.75 MB, free: 3.734 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.001653/0.001653, allocations: 169.4 kB / 24.17 MB, free: 332 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.9609/0.9609, allocations: 177.1 MB / 204.6 MB, free: 5.461 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.6277/0.6277, allocations: 110.2 MB / 371.3 MB, free: 12.38 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.493e-06/1.493e-06, allocations: 0 / 422.4 MB, free: 9.344 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.362e-05, allocations: 2.312 kB / 422.4 MB, free: 9.34 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002237/0.002261, allocations: 1.383 MB / 423.8 MB, free: 7.941 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008628/0.003124, allocations: 0.5876 MB / 424.4 MB, free: 7.352 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.003158, allocations: 0 / 424.4 MB, free: 7.352 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.003177, allocations: 0 / 424.4 MB, free: 7.352 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.606e-05/0.003223, allocations: 3.984 kB / 424.4 MB, free: 7.348 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.003726, allocations: 155.2 kB / 424.6 MB, free: 7.195 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 6.349e-05/0.003789, allocations: 27.86 kB / 424.6 MB, free: 7.168 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.003831, allocations: 8 kB / 424.6 MB, free: 7.16 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.377e-05/0.003874, allocations: 19.97 kB / 424.6 MB, free: 7.141 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.722e-05/0.003932, allocations: 7.984 kB / 424.6 MB, free: 7.133 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.003944, allocations: 0 / 424.6 MB, free: 7.133 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003408/0.004285, allocations: 283.4 kB / 424.9 MB, free: 6.855 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.004302, allocations: 3.984 kB / 424.9 MB, free: 6.852 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.82e-05/0.00432, allocations: 11.94 kB / 424.9 MB, free: 6.84 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.004532, allocations: 163.5 kB / 425.1 MB, free: 6.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.004535, allocations: 0 / 425.1 MB, free: 6.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004536, allocations: 0 / 425.1 MB, free: 6.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.00454, allocations: 0 / 425.1 MB, free: 6.68 MB / 394.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.0002951/0.004835, allocations: 272.2 kB / 425.4 MB, free: 6.387 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.004868, allocations: 8.031 kB / 425.4 MB, free: 6.379 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.004898, allocations: 8.938 kB / 425.4 MB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.181e-05/0.004989, allocations: 109.7 kB / 425.5 MB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.005001, allocations: 4.375 kB / 425.5 MB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.005023, allocations: 8.672 kB / 425.5 MB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.6e-05/0.005119, allocations: 97.64 kB / 425.6 MB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.00513, allocations: 192 / 425.6 MB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.005139, allocations: 4.359 kB / 425.6 MB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.005145, allocations: 384 / 425.6 MB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.602e-05/0.005171, allocations: 23.92 kB / 425.6 MB, free: 6.086 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001057/0.005276, allocations: 64.98 kB / 425.7 MB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.531e-05/0.005362, allocations: 58.56 kB / 425.7 MB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.86e-05/0.00538, allocations: 12.86 kB / 425.7 MB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.005398, allocations: 7.984 kB / 425.8 MB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.005419, allocations: 34.56 kB / 425.8 MB, free: 5.875 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.00542, allocations: 0 / 425.8 MB, free: 5.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007397/0.00616, allocations: 431.7 kB / 426.2 MB, free: 5.398 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.006184, allocations: 51.41 kB / 426.3 MB, free: 5.336 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.516e-05/0.006239, allocations: 106.6 kB / 426.4 MB, free: 5.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.006252, allocations: 29.7 kB / 426.4 MB, free: 5.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.006277, allocations: 80.14 kB / 426.5 MB, free: 5.102 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.006315, allocations: 51.69 kB / 426.5 MB, free: 5.051 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.006347, allocations: 25.72 kB / 426.5 MB, free: 5.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.006424, allocations: 318.8 kB / 426.9 MB, free: 4.699 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.00644, allocations: 8 kB / 426.9 MB, free: 4.691 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.569e-05/0.006455, allocations: 11.98 kB / 426.9 MB, free: 4.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.517e-05/0.006501, allocations: 40.78 kB / 426.9 MB, free: 4.637 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.006502, allocations: 0 / 426.9 MB, free: 4.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.268e-05/0.006574, allocations: 65.61 kB / 427 MB, free: 4.566 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.006587, allocations: 8 kB / 427 MB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.00659, allocations: 0 / 427 MB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.006602, allocations: 0 / 427 MB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.832e-05/0.00667, allocations: 31.98 kB / 427 MB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.006674, allocations: 3.938 kB / 427 MB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.335e-05/0.006688, allocations: 0 / 427 MB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.006694, allocations: 4 kB / 427 MB, free: 4.52 MB / 394.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 5.745e-05/0.006752, allocations: 117.8 kB / 427.1 MB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.006763, allocations: 7.984 kB / 427.1 MB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.00687, allocations: 73.89 kB / 427.2 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.006871, allocations: 0 / 427.2 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.006872, allocations: 0 / 427.2 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.006878, allocations: 7.922 kB / 427.2 MB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.00709, allocations: 234.7 kB / 427.5 MB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.007092, allocations: 0 / 427.5 MB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.635e-05/0.007158, allocations: 20 kB / 427.5 MB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.123e-06/0.00716, allocations: 0 / 427.5 MB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.007166, allocations: 0 / 427.5 MB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.007169, allocations: 3.984 kB / 427.5 MB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.007171, allocations: 3.938 kB / 427.5 MB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.007317, allocations: 179.4 kB / 427.7 MB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.007326, allocations: 11.94 kB / 427.7 MB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.007336, allocations: 4 kB / 427.7 MB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.496e-05/0.007381, allocations: 4 kB / 427.7 MB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.007398, allocations: 19.89 kB / 427.7 MB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.007406, allocations: 8 kB / 427.7 MB, free: 3.777 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.025e-06/0.007414, allocations: 4.859 kB / 427.7 MB, free: 3.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007414, allocations: 0 / 427.7 MB, free: 3.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.007587, allocations: 39.86 kB / 427.8 MB, free: 3.73 MB / 394.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.0001504/0.007738, allocations: 108.3 kB / 427.9 MB, free: 3.617 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.181e-05/0.007819, allocations: 49.56 kB / 427.9 MB, free: 3.566 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.007823, allocations: 8 kB / 427.9 MB, free: 3.559 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.241e-05/0.007845, allocations: 28.89 kB / 427.9 MB, free: 3.527 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.007961, allocations: 11.94 kB / 428 MB, free: 3.516 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004811/0.008442, allocations: 224 kB / 428.2 MB, free: 3.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.398e-05/0.008476, allocations: 59.34 kB / 428.2 MB, free: 3.191 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.553e-05/0.008512, allocations: 11.98 kB / 428.2 MB, free: 3.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.008563, allocations: 67.31 kB / 428.3 MB, free: 3.113 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.008564, allocations: 4 kB / 428.3 MB, free: 3.109 MB / 394.7 MB Notification: Performance of Templates: time 0.002689/0.01125, allocations: 1.086 MB / 429.4 MB, free: 2.023 MB / 394.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 -s gbode -gbm=radauIIA3 -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.148511214647442]