Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 101.7 kB / 19.59 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 189.2 kB / 22.85 MB, free: 5.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 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.9325/0.9325, allocations: 144.9 MB / 451.7 MB, free: 5.492 MB / 350.1 MB " [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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 60.38 kB / 0.6256 GB, free: 15.55 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1869, allocations: 86.7 MB / 0.7103 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002376/0.1893, allocations: 1.281 MB / 0.7116 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1904, allocations: 0.6188 MB / 0.7122 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/0.1905, allocations: 0 / 0.7122 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.1905, allocations: 0 / 0.7122 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.94e-05/0.1905, allocations: 3.938 kB / 0.7122 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.1911, allocations: 147.4 kB / 0.7123 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.01e-05/0.1912, allocations: 27.91 kB / 0.7123 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.1912, allocations: 4 kB / 0.7123 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.951e-05/0.1913, allocations: 4 kB / 0.7123 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.715e-05/0.1913, allocations: 11.92 kB / 0.7123 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1914, allocations: 4 kB / 0.7124 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004287/0.1918, allocations: 279.5 kB / 0.7126 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.1918, allocations: 0 / 0.7126 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.098e-05/0.1918, allocations: 15.92 kB / 0.7126 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.1921, allocations: 139.5 kB / 0.7128 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1921, allocations: 0 / 0.7128 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1921, allocations: 4 kB / 0.7128 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.1921, allocations: 0 / 0.7128 GB, free: 6.32 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004652/0.1926, allocations: 289.9 kB / 0.713 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.1926, allocations: 8.031 kB / 0.7131 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.1927, allocations: 4.875 kB / 0.7131 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.1928, allocations: 118.4 kB / 0.7132 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1928, allocations: 384 / 0.7132 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.1928, allocations: 8.375 kB / 0.7132 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.1929, allocations: 34.25 kB / 0.7132 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.193, allocations: 4.188 kB / 0.7132 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.193, allocations: 7.938 kB / 0.7132 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.193, allocations: 4 kB / 0.7132 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.193, allocations: 4 kB / 0.7132 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.1932, allocations: 128.8 kB / 0.7134 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.1934, allocations: 46.55 kB / 0.7134 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.736e-05/0.1935, allocations: 16.94 kB / 0.7134 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.1935, allocations: 8 kB / 0.7134 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.1935, allocations: 30.56 kB / 0.7135 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.1935, allocations: 0 / 0.7135 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0006263/0.1941, allocations: 237.3 kB / 0.7137 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.1942, allocations: 55.41 kB / 0.7137 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.343e-05/0.1943, allocations: 97.84 kB / 0.7138 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.1943, allocations: 29.7 kB / 0.7139 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.1943, allocations: 84.14 kB / 0.7139 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.1944, allocations: 15.86 kB / 0.7139 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.1944, allocations: 25.7 kB / 0.714 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1945, allocations: 314.8 kB / 0.7143 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.98e-05/0.1946, allocations: 12 kB / 0.7143 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.177e-05/0.1946, allocations: 11.92 kB / 0.7143 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.057e-05/0.1947, allocations: 36.84 kB / 0.7143 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1947, allocations: 0 / 0.7143 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000108/0.1948, allocations: 69.64 kB / 0.7144 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.1948, allocations: 7.938 kB / 0.7144 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1948, allocations: 0 / 0.7144 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1948, allocations: 4.062 kB / 0.7144 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.436e-05/0.1949, allocations: 19.94 kB / 0.7144 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1949, allocations: 3.984 kB / 0.7144 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.663e-05/0.1949, allocations: 0 / 0.7144 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1949, allocations: 4 kB / 0.7144 GB, free: 4.398 MB / 0.5294 GB 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 (7): * Single equations (assignments): 7 * 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 9.043e-05/0.195, allocations: 113.8 kB / 0.7145 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.195, allocations: 11.94 kB / 0.7146 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.1952, allocations: 65.75 kB / 0.7146 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1952, allocations: 0 / 0.7146 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1952, allocations: 3.984 kB / 0.7146 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1952, allocations: 0 / 0.7146 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.1955, allocations: 286.4 kB / 0.7149 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1955, allocations: 0 / 0.7149 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.938e-05/0.1956, allocations: 11.94 kB / 0.7149 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1956, allocations: 4.031 kB / 0.7149 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1956, allocations: 8 kB / 0.7149 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1956, allocations: 0 / 0.7149 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1956, allocations: 0 / 0.7149 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.1958, allocations: 184.3 kB / 0.7151 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.911e-05/0.1958, allocations: 3.984 kB / 0.7151 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.1958, allocations: 4.031 kB / 0.7151 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.1959, allocations: 8 kB / 0.7151 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.1959, allocations: 4 kB / 0.7151 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1959, allocations: 4.188 kB / 0.7151 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.673e-05/0.196, allocations: 83.27 kB / 0.7152 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.196, allocations: 0 / 0.7152 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002389/0.1962, allocations: 31.75 kB / 0.7152 GB, free: 3.496 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001913/0.1964, allocations: 119.2 kB / 0.7153 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.1965, allocations: 35.98 kB / 0.7154 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1965, allocations: 4 kB / 0.7154 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-05/0.1966, allocations: 19.94 kB / 0.7154 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.1968, allocations: 19.59 kB / 0.7154 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/0.1972, allocations: 210.4 kB / 0.7156 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.1975, allocations: 0.6845 MB / 0.7163 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.1975, allocations: 11.44 kB / 0.7163 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.1975, allocations: 0 / 0.7163 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of Templates: time 0.002444/0.2, allocations: 0.8169 MB / 0.7171 GB, free: 1.527 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.154054488011752] Failed to read output from testmodel.py, exit status != 0: 0.20758904400281608 0.222703542 0.027531738 Calling exit ...