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.002131/0.002131, allocations: 91.67 kB / 20.24 MB, free: 4.188 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.003202/0.003202, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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.73/1.73, allocations: 177.1 MB / 203.9 MB, free: 5.617 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 1.048/1.048, allocations: 110.3 MB / 370.6 MB, free: 12.46 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.343e-06/1.343e-06, allocations: 0 / 474.5 MB, free: 15.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.036e-05, allocations: 3.844 kB / 474.5 MB, free: 15.24 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002402/0.002433, allocations: 1.288 MB / 475.8 MB, free: 14.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.003442, allocations: 0.5964 MB / 476.3 MB, free: 13.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.003475, allocations: 0 / 476.3 MB, free: 13.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.003494, allocations: 4.938 kB / 476.4 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.763e-05/0.003542, allocations: 0 / 476.4 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006727/0.004215, allocations: 153.8 kB / 476.5 MB, free: 13.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.74e-05/0.004282, allocations: 32.91 kB / 476.5 MB, free: 13.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.004323, allocations: 3.375 kB / 476.5 MB, free: 13.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.633e-05/0.004369, allocations: 19.53 kB / 476.6 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.734e-05/0.004436, allocations: 6.047 kB / 476.6 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.004454, allocations: 2.625 kB / 476.6 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004053/0.00486, allocations: 275.4 kB / 476.8 MB, free: 13.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.00488, allocations: 7.75 kB / 476.8 MB, free: 13.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.004915, allocations: 12.28 kB / 476.9 MB, free: 13.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.005217, allocations: 163.8 kB / 477 MB, free: 13.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.005221, allocations: 4.891 kB / 477 MB, free: 13.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005222, allocations: 0 / 477 MB, free: 13.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.005227, allocations: 0 / 477 MB, free: 13.76 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.00041/0.005637, allocations: 403.9 kB / 477.4 MB, free: 13.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.005677, allocations: 8.375 kB / 477.4 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.728e-05/0.005734, allocations: 11.12 kB / 477.4 MB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.06e-05/0.005815, allocations: 104.6 kB / 477.5 MB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.005831, allocations: 7.484 kB / 477.5 MB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.005869, allocations: 10.66 kB / 477.6 MB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.006008, allocations: 103 kB / 477.7 MB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.006023, allocations: 4.141 kB / 477.7 MB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.006035, allocations: 1.438 kB / 477.7 MB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.006041, allocations: 3 kB / 477.7 MB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.774e-05/0.006098, allocations: 22.14 kB / 477.7 MB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.006256, allocations: 126 kB / 477.8 MB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.006368, allocations: 62.16 kB / 477.9 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/0.006411, allocations: 28.38 kB / 477.9 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.006439, allocations: 3.938 kB / 477.9 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.006464, allocations: 36.02 kB / 477.9 MB, free: 12.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.006465, allocations: 2.25 kB / 477.9 MB, free: 12.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.00112/0.007585, allocations: 475.3 kB / 478.4 MB, free: 12.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.007609, allocations: 54.91 kB / 478.5 MB, free: 12.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.495e-05/0.007674, allocations: 156.8 kB / 478.6 MB, free: 12.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.007689, allocations: 29.7 kB / 478.6 MB, free: 12.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.007716, allocations: 132.2 kB / 478.8 MB, free: 12.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.007756, allocations: 37.89 kB / 478.8 MB, free: 12.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.007801, allocations: 34.88 kB / 478.8 MB, free: 12.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004509/0.008252, allocations: 499.6 kB / 479.3 MB, free: 27.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.793e-05/0.0083, allocations: 21.38 kB / 479.3 MB, free: 27.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.908e-05/0.008339, allocations: 26.98 kB / 479.4 MB, free: 27.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.956e-05/0.008429, allocations: 61.28 kB / 479.4 MB, free: 27.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.00843, allocations: 0 / 479.4 MB, free: 27.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001395/0.008569, allocations: 108.3 kB / 479.5 MB, free: 27.44 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.008587, allocations: 6.844 kB / 479.5 MB, free: 27.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.008591, allocations: 0 / 479.5 MB, free: 27.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.008608, allocations: 7.875 kB / 479.6 MB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.008726, allocations: 27.48 kB / 479.6 MB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.008732, allocations: 0 / 479.6 MB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.609e-05/0.008759, allocations: 2.781 kB / 479.6 MB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.008767, allocations: 4.875 kB / 479.6 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 0.0001352/0.008902, allocations: 159.9 kB / 479.7 MB, free: 27.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.008921, allocations: 7.906 kB / 479.7 MB, free: 27.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.009108, allocations: 102.1 kB / 479.8 MB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.009111, allocations: 7.188 kB / 479.9 MB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.009115, allocations: 0 / 479.9 MB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.009119, allocations: 7.312 kB / 479.9 MB, free: 27.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.009519, allocations: 346.3 kB / 480.2 MB, free: 26.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.009521, allocations: 0 / 480.2 MB, free: 26.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.009623, allocations: 27.8 kB / 480.2 MB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.009627, allocations: 3.938 kB / 480.2 MB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.006e-06/0.009636, allocations: 1.469 kB / 480.2 MB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.009638, allocations: 6.562 kB / 480.2 MB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.00964, allocations: 3.984 kB / 480.2 MB, free: 26.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.009905, allocations: 270.2 kB / 480.5 MB, free: 26.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-06/0.009914, allocations: 7.484 kB / 480.5 MB, free: 26.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.00993, allocations: 7.938 kB / 480.5 MB, free: 26.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.01001, allocations: 5.406 kB / 480.5 MB, free: 26.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.01003, allocations: 6.281 kB / 480.5 MB, free: 26.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.01004, allocations: 6.188 kB / 480.5 MB, free: 26.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001036/0.01015, allocations: 123.2 kB / 480.7 MB, free: 26.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01015, allocations: 0 / 480.7 MB, free: 26.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002604/0.01041, allocations: 36.53 kB / 480.7 MB, free: 26.52 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.0002288/0.01064, allocations: 145.7 kB / 480.8 MB, free: 26.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.01078, allocations: 69.08 kB / 480.9 MB, free: 26.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01078, allocations: 0 / 480.9 MB, free: 26.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.578e-05/0.01083, allocations: 46.25 kB / 481 MB, free: 26.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.01104, allocations: 11.88 kB / 481 MB, free: 26.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004589/0.0115, allocations: 244.3 kB / 481.2 MB, free: 26.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.97e-05/0.01157, allocations: 70.69 kB / 481.3 MB, free: 26.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.005e-05/0.01161, allocations: 6.75 kB / 481.3 MB, free: 26.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.01163, allocations: 17.38 kB / 481.3 MB, free: 26.11 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01163, allocations: 0 / 481.3 MB, free: 26.11 MB / 426.7 MB Notification: Performance of Templates: time 0.003911/0.01554, allocations: 0.9694 MB / 482.3 MB, free: 26.06 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: 5.916202271939255]