Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.001322/0.001322, allocations: 118.9 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001384/0.001384, allocations: 211.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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.463/1.463, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9431/0.9431, allocations: 145 MB / 454.5 MB, free: 10.02 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.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002585/0.002585, allocations: 64.33 kB / 0.6287 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1876, allocations: 87.83 MB / 0.7145 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002502/0.1901, allocations: 1.294 MB / 0.7157 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1912, allocations: 0.6192 MB / 0.7164 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.1912, allocations: 0 / 0.7164 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.1912, allocations: 3.938 kB / 0.7164 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.471e-05/0.1913, allocations: 3.984 kB / 0.7164 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005661/0.1918, allocations: 153.2 kB / 0.7165 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.889e-05/0.1919, allocations: 19.92 kB / 0.7165 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.1919, allocations: 0 / 0.7165 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.554e-05/0.192, allocations: 11.98 kB / 0.7165 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.962e-05/0.192, allocations: 11.92 kB / 0.7165 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.1921, allocations: 4 kB / 0.7166 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005156/0.1926, allocations: 339.3 kB / 0.7169 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.1926, allocations: 3.984 kB / 0.7169 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.1926, allocations: 15.94 kB / 0.7169 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.1929, allocations: 147.8 kB / 0.717 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1929, allocations: 0 / 0.717 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.937e-06/0.1929, allocations: 3.984 kB / 0.717 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.1929, allocations: 0 / 0.717 GB, free: 9.113 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.0004872/0.1934, allocations: 359.1 kB / 0.7174 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.1934, allocations: 8.031 kB / 0.7174 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.002e-05/0.1935, allocations: 4.188 kB / 0.7174 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.1935, allocations: 30.75 kB / 0.7174 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.1935, allocations: 8.891 kB / 0.7174 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.1937, allocations: 164.4 kB / 0.7176 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.1937, allocations: 8.375 kB / 0.7176 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.1937, allocations: 384 / 0.7176 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.1938, allocations: 46 kB / 0.7176 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1938, allocations: 0 / 0.7176 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1938, allocations: 3.938 kB / 0.7176 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1938, allocations: 0 / 0.7176 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.175e-05/0.1939, allocations: 11.94 kB / 0.7177 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.1941, allocations: 165.7 kB / 0.7178 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.1943, allocations: 38.61 kB / 0.7178 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.486e-05/0.1943, allocations: 24.92 kB / 0.7179 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.1943, allocations: 3.938 kB / 0.7179 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.1944, allocations: 38.5 kB / 0.7179 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.1944, allocations: 0 / 0.7179 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0006584/0.195, allocations: 314.2 kB / 0.7182 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.1951, allocations: 51.41 kB / 0.7183 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.362e-05/0.1951, allocations: 97.84 kB / 0.7184 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.1952, allocations: 29.7 kB / 0.7184 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.1952, allocations: 80.14 kB / 0.7185 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.1952, allocations: 27.78 kB / 0.7185 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.1953, allocations: 17.72 kB / 0.7185 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1954, allocations: 314.8 kB / 0.7188 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.868e-05/0.1955, allocations: 15.98 kB / 0.7188 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.333e-05/0.1955, allocations: 12 kB / 0.7188 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.789e-05/0.1955, allocations: 28.86 kB / 0.7189 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.1955, allocations: 0 / 0.7189 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001067/0.1956, allocations: 73.55 kB / 0.7189 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1957, allocations: 8 kB / 0.7189 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1957, allocations: 0 / 0.7189 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1957, allocations: 0 / 0.7189 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.344e-05/0.1957, allocations: 11.98 kB / 0.7189 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1957, allocations: 8.234 kB / 0.719 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.72e-05/0.1958, allocations: 0 / 0.719 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.1958, allocations: 0 / 0.719 GB, free: 6.867 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.924e-05/0.1959, allocations: 113.8 kB / 0.7191 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.1959, allocations: 7.875 kB / 0.7191 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.196, allocations: 77.53 kB / 0.7191 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.196, allocations: 4 kB / 0.7191 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.196, allocations: 0 / 0.7191 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.196, allocations: 4 kB / 0.7192 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.1964, allocations: 311.4 kB / 0.7194 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1964, allocations: 3.938 kB / 0.7195 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.304e-05/0.1964, allocations: 12 kB / 0.7195 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.1964, allocations: 3.984 kB / 0.7195 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.1964, allocations: 4 kB / 0.7195 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1965, allocations: 4.172 kB / 0.7195 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1965, allocations: 4 kB / 0.7195 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.1967, allocations: 184.3 kB / 0.7197 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.1967, allocations: 89.08 kB / 0.7197 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.1967, allocations: 0 / 0.7197 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.884e-05/0.1968, allocations: 0 / 0.7197 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.1968, allocations: 7.984 kB / 0.7197 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1968, allocations: 4 kB / 0.7198 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.275e-05/0.1969, allocations: 79.8 kB / 0.7198 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1969, allocations: 4.062 kB / 0.7198 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002677/0.1971, allocations: 23.88 kB / 0.7199 GB, free: 5.832 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.000639/0.1978, allocations: 0.7327 MB / 0.7206 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.1979, allocations: 31.97 kB / 0.7206 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1979, allocations: 4.062 kB / 0.7206 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.309e-05/0.1979, allocations: 19.94 kB / 0.7206 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.1982, allocations: 8 kB / 0.7206 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.1996, allocations: 1.327 MB / 0.7219 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.1999, allocations: 0.6807 MB / 0.7226 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.969e-05/0.1999, allocations: 4 kB / 0.7226 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.2, allocations: 21.25 kB / 0.7226 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.2, allocations: 0 / 0.7226 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.2193, allocations: 1.709 MB / 0.7243 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.491/8.71, allocations: 4.062 kB / 0.7243 GB, free: 1.379 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.573567360988818] Failed to read output from testmodel.py, exit status != 0: 8.83742452802835 8.862852318 8.665248694 Calling exit ...