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.001095/0.001095, allocations: 88.23 kB / 20.46 MB, free: 4.113 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.001101/0.001101, allocations: 161 kB / 23.82 MB, free: 0.7461 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.073/1.073, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.6613/0.6613, allocations: 110.2 MB / 371 MB, free: 12.54 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 3.868e-06/3.868e-06, allocations: 3.328 kB / 475.2 MB, free: 15.24 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.45e-05/4.837e-05, allocations: 3.297 kB / 475.2 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003221/0.003269, allocations: 1.518 MB / 476.7 MB, free: 14.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009654/0.004235, allocations: 0.6141 MB / 477.3 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.004278, allocations: 0 / 477.3 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.76e-05/0.004326, allocations: 3.938 kB / 477.3 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.008e-05/0.004396, allocations: 8.734 kB / 477.3 MB, free: 13.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005873/0.004983, allocations: 164.5 kB / 477.5 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.005086, allocations: 55.3 kB / 477.5 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.282e-05/0.005149, allocations: 2.625 kB / 477.6 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.68e-05/0.005245, allocations: 33.81 kB / 477.6 MB, free: 13.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.345e-05/0.005289, allocations: 22.84 kB / 477.6 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.005308, allocations: 6.562 kB / 477.6 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/0.005636, allocations: 270.8 kB / 477.9 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.549e-05/0.005671, allocations: 17.88 kB / 477.9 MB, free: 13.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.962e-05/0.005711, allocations: 12.84 kB / 477.9 MB, free: 13.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.006022, allocations: 189.2 kB / 478.1 MB, free: 13.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.006027, allocations: 0.7812 kB / 478.1 MB, free: 13.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.006029, allocations: 0 / 478.1 MB, free: 13.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.006035, allocations: 3.469 kB / 478.1 MB, free: 13.56 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.0005769/0.006612, allocations: 419.4 kB / 478.5 MB, free: 13.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.006665, allocations: 7.875 kB / 478.5 MB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.236e-05/0.006727, allocations: 17.14 kB / 478.5 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.29e-05/0.00682, allocations: 113.6 kB / 478.6 MB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.006853, allocations: 2.75 kB / 478.6 MB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.006879, allocations: 18.33 kB / 478.7 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.007141, allocations: 131 kB / 478.8 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.007157, allocations: 4.062 kB / 478.8 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.007173, allocations: 384 / 478.8 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.007182, allocations: 1.031 kB / 478.8 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.823e-05/0.00724, allocations: 31.28 kB / 478.8 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.007707, allocations: 308.4 kB / 479.1 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.007862, allocations: 71.33 kB / 479.2 MB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.007898, allocations: 23.66 kB / 479.2 MB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.007926, allocations: 7.938 kB / 479.2 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.007949, allocations: 36.2 kB / 479.3 MB, free: 12.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.007951, allocations: 0 / 479.3 MB, free: 12.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009403/0.008891, allocations: 470.1 kB / 479.7 MB, free: 12.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.008928, allocations: 51.41 kB / 479.8 MB, free: 12.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004112/0.009339, allocations: 163.8 kB / 479.9 MB, free: 27.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.009353, allocations: 29.7 kB / 480 MB, free: 27.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.009397, allocations: 134.6 kB / 480.1 MB, free: 27.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.009427, allocations: 36.23 kB / 480.1 MB, free: 27.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.009462, allocations: 34.72 kB / 480.2 MB, free: 27.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.009573, allocations: 0.494 MB / 480.7 MB, free: 27.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.174e-05/0.009605, allocations: 18.8 kB / 480.7 MB, free: 27.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.878e-05/0.009633, allocations: 19.89 kB / 480.7 MB, free: 27.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.48e-05/0.009698, allocations: 53.06 kB / 480.7 MB, free: 27.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.009699, allocations: 0 / 480.7 MB, free: 27.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001132/0.009812, allocations: 97.66 kB / 480.8 MB, free: 27.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.00983, allocations: 5.469 kB / 480.8 MB, free: 27.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.009835, allocations: 0 / 480.8 MB, free: 27.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.009852, allocations: 0.9062 kB / 480.8 MB, free: 27.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.009963, allocations: 32.02 kB / 480.9 MB, free: 27.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.00997, allocations: 0.9062 kB / 480.9 MB, free: 27.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.544e-05/0.009995, allocations: 6.781 kB / 480.9 MB, free: 27.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.01, allocations: 4.438 kB / 480.9 MB, free: 27.08 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 7.607e-05/0.01008, allocations: 163.3 kB / 481 MB, free: 26.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.0101, allocations: 9.953 kB / 481.1 MB, free: 26.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.01024, allocations: 106.7 kB / 481.2 MB, free: 26.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.01024, allocations: 3.656 kB / 481.2 MB, free: 26.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.01025, allocations: 3.938 kB / 481.2 MB, free: 26.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01025, allocations: 0 / 481.2 MB, free: 26.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.01052, allocations: 350.2 kB / 481.5 MB, free: 26.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01052, allocations: 3.188 kB / 481.5 MB, free: 26.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.303e-05/0.01061, allocations: 27.88 kB / 481.5 MB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.01061, allocations: 0 / 481.5 MB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.01062, allocations: 3.938 kB / 481.5 MB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01062, allocations: 2.344 kB / 481.5 MB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01062, allocations: 0 / 481.5 MB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.01083, allocations: 260.5 kB / 481.8 MB, free: 26.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.938e-06/0.01084, allocations: 17.8 kB / 481.8 MB, free: 26.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.01085, allocations: 3.531 kB / 481.8 MB, free: 26.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.966e-05/0.0109, allocations: 3.5 kB / 481.8 MB, free: 26.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.01093, allocations: 5.797 kB / 481.8 MB, free: 26.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.01094, allocations: 10.7 kB / 481.8 MB, free: 26.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.537e-05/0.01098, allocations: 121.5 kB / 482 MB, free: 26.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01098, allocations: 0.5 kB / 482 MB, free: 26.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001937/0.01118, allocations: 49.03 kB / 482 MB, free: 26.16 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.0001935/0.01137, allocations: 140 kB / 482.1 MB, free: 26.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.01151, allocations: 65.83 kB / 482.2 MB, free: 26.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01151, allocations: 0 / 482.2 MB, free: 26.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.426e-05/0.01154, allocations: 43.05 kB / 482.3 MB, free: 26.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.01174, allocations: 13.73 kB / 482.3 MB, free: 26.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006415/0.01238, allocations: 260.3 kB / 482.5 MB, free: 25.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.901e-05/0.01242, allocations: 62.33 kB / 482.6 MB, free: 25.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.811e-05/0.01246, allocations: 11.7 kB / 482.6 MB, free: 25.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.01249, allocations: 13.59 kB / 482.6 MB, free: 25.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01249, allocations: 1.375 kB / 482.6 MB, free: 25.75 MB / 426.7 MB Notification: Performance of Templates: time 0.003254/0.01574, allocations: 1.282 MB / 483.9 MB, free: 25.67 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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9281620900146663]