Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001405/0.001405, allocations: 88.39 kB / 20.24 MB, free: 4.191 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.001571/0.001571, allocations: 157.7 kB / 23.54 MB, free: 0.8867 MB / 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 1.467/1.467, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.9116/0.9116, allocations: 110.2 MB / 370.6 MB, free: 12.47 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 474.5 MB, free: 15.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.823e-05, allocations: 6.594 kB / 474.5 MB, free: 15.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002497/0.002525, allocations: 1.467 MB / 475.9 MB, free: 14.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009805/0.003506, allocations: 0.5758 MB / 476.5 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.694e-05/0.003553, allocations: 2.625 kB / 476.5 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.003586, allocations: 7.406 kB / 476.5 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.839e-05/0.003644, allocations: 3.938 kB / 476.5 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006576/0.004302, allocations: 163.6 kB / 476.7 MB, free: 13.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.611e-05/0.004388, allocations: 53.27 kB / 476.7 MB, free: 13.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.004424, allocations: 2.781 kB / 476.7 MB, free: 13.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.22e-05/0.004506, allocations: 31.78 kB / 476.8 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.219e-05/0.004548, allocations: 23.39 kB / 476.8 MB, free: 13.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.004566, allocations: 3.031 kB / 476.8 MB, free: 13.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004434/0.00501, allocations: 277 kB / 477.1 MB, free: 13.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.00503, allocations: 16.2 kB / 477.1 MB, free: 13.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.005063, allocations: 12.22 kB / 477.1 MB, free: 13.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.005357, allocations: 194.6 kB / 477.3 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.005359, allocations: 5.062 kB / 477.3 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.00536, allocations: 0 / 477.3 MB, free: 13.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.005364, allocations: 0 / 477.3 MB, free: 13.61 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005559/0.00592, allocations: 324.6 kB / 477.6 MB, free: 13.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.005957, allocations: 12.09 kB / 477.6 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.006018, allocations: 10.8 kB / 477.6 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.242e-05/0.00609, allocations: 111.8 kB / 477.7 MB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.006118, allocations: 12 kB / 477.7 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.006148, allocations: 9.359 kB / 477.8 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.006395, allocations: 134.2 kB / 477.9 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.00641, allocations: 6.766 kB / 477.9 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.006423, allocations: 384 / 477.9 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.006428, allocations: 5.375 kB / 477.9 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.006658, allocations: 48.8 kB / 477.9 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.007135, allocations: 255.1 kB / 478.2 MB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.007413, allocations: 77.86 kB / 478.3 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.007526, allocations: 28.27 kB / 478.3 MB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.00755, allocations: 3.438 kB / 478.3 MB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.007573, allocations: 41.25 kB / 478.3 MB, free: 12.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.007575, allocations: 0.8125 kB / 478.3 MB, free: 12.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001605/0.00918, allocations: 0.5025 MB / 478.8 MB, free: 12.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.0092, allocations: 54 kB / 478.9 MB, free: 12.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.637e-05/0.009256, allocations: 101.8 kB / 479 MB, free: 12.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.009268, allocations: 25.7 kB / 479 MB, free: 12.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.566e-05/0.009294, allocations: 95.72 kB / 479.1 MB, free: 12.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.009322, allocations: 37.05 kB / 479.1 MB, free: 12.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.009365, allocations: 31.2 kB / 479.2 MB, free: 12.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002416/0.009606, allocations: 322.2 kB / 479.5 MB, free: 27.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.009755, allocations: 32.61 kB / 479.5 MB, free: 27.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.009872, allocations: 33.58 kB / 479.6 MB, free: 27.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.01011, allocations: 77.08 kB / 479.6 MB, free: 27.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.01012, allocations: 3.188 kB / 479.6 MB, free: 27.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003065/0.01042, allocations: 123.7 kB / 479.8 MB, free: 27.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.01044, allocations: 3.25 kB / 479.8 MB, free: 27.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01044, allocations: 2.312 kB / 479.8 MB, free: 27.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.01046, allocations: 0 / 479.8 MB, free: 27.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.01061, allocations: 27.8 kB / 479.8 MB, free: 27.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.01062, allocations: 1.312 kB / 479.8 MB, free: 27.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.94e-05/0.0107, allocations: 9.062 kB / 479.8 MB, free: 27.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.01071, allocations: 5.781 kB / 479.8 MB, free: 27.61 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 8.175e-05/0.01079, allocations: 121.5 kB / 479.9 MB, free: 27.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.01083, allocations: 14.2 kB / 479.9 MB, free: 27.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/0.01119, allocations: 120.6 kB / 480.1 MB, free: 27.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.0112, allocations: 3.406 kB / 480.1 MB, free: 27.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.0112, allocations: 0 / 480.1 MB, free: 27.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.0112, allocations: 5.297 kB / 480.1 MB, free: 27.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/0.01173, allocations: 329.9 kB / 480.4 MB, free: 27.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01173, allocations: 4 kB / 480.4 MB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.01187, allocations: 22.59 kB / 480.4 MB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.01188, allocations: 5.062 kB / 480.4 MB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.01189, allocations: 4.188 kB / 480.4 MB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01189, allocations: 0 / 480.4 MB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01189, allocations: 2.812 kB / 480.4 MB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004961/0.01239, allocations: 267.1 kB / 480.7 MB, free: 26.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.0124, allocations: 11.62 kB / 480.7 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.01242, allocations: 2.906 kB / 480.7 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.01255, allocations: 4 kB / 480.7 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.01257, allocations: 10.5 kB / 480.7 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.01258, allocations: 7.312 kB / 480.7 MB, free: 26.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.651e-05/0.01264, allocations: 81 kB / 480.8 MB, free: 26.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01264, allocations: 0 / 480.8 MB, free: 26.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002918/0.01293, allocations: 44.22 kB / 480.8 MB, free: 26.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0002194/0.01315, allocations: 141.4 kB / 481 MB, free: 26.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003131/0.01346, allocations: 84.06 kB / 481.1 MB, free: 26.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01347, allocations: 0.75 kB / 481.1 MB, free: 26.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.01361, allocations: 44.25 kB / 481.1 MB, free: 26.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.01388, allocations: 10.97 kB / 481.1 MB, free: 26.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005964/0.01448, allocations: 270.2 kB / 481.4 MB, free: 26.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.366e-05/0.01453, allocations: 80.09 kB / 481.5 MB, free: 26.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.673e-05/0.01459, allocations: 11.83 kB / 481.5 MB, free: 26.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.01463, allocations: 16.12 kB / 481.5 MB, free: 26.46 MB / 426.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01463, allocations: 1.031 kB / 481.5 MB, free: 26.46 MB / 426.7 MB Notification: Performance of Templates: time 0.004042/0.01867, allocations: 1.166 MB / 482.7 MB, free: 26.4 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3013876100303605]