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.00131/0.00131, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001382/0.001382, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.445/1.445, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.9132/0.9132, allocations: 145 MB / 453.8 MB, free: 0.6992 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_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",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.00309/0.00309, allocations: 70.16 kB / 0.628 GB, free: 10.63 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2216, allocations: 87.82 MB / 0.7138 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002997/0.2246, allocations: 1.49 MB / 0.7153 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.2258, allocations: 0.6352 MB / 0.7159 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.2259, allocations: 4 kB / 0.7159 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.234e-05/0.2259, allocations: 3.938 kB / 0.7159 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.68e-05/0.2259, allocations: 11.86 kB / 0.7159 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/0.2265, allocations: 157.2 kB / 0.716 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.2266, allocations: 55.59 kB / 0.7161 GB, free: 444 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.2267, allocations: 4.219 kB / 0.7161 GB, free: 440 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.727e-05/0.2267, allocations: 31.92 kB / 0.7161 GB, free: 408 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.092e-05/0.2268, allocations: 23.91 kB / 0.7162 GB, free: 384 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2268, allocations: 7.938 kB / 0.7162 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005135/0.2273, allocations: 343.4 kB / 0.7165 GB, free: 32 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.2273, allocations: 19.92 kB / 0.7165 GB, free: 12 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.334e-05/0.2274, allocations: 19.92 kB / 0.7165 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.2277, allocations: 179.3 kB / 0.7167 GB, free: 15.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2277, allocations: 0 / 0.7167 GB, free: 15.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2277, allocations: 3.938 kB / 0.7167 GB, free: 15.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.2277, allocations: 0 / 0.7167 GB, free: 15.81 MB / 0.545 GB 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.000681/0.2284, allocations: 402.9 kB / 0.7171 GB, free: 15.37 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2284, allocations: 8.031 kB / 0.7171 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.2285, allocations: 38.75 kB / 0.7171 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.2285, allocations: 8.891 kB / 0.7171 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.2287, allocations: 168.3 kB / 0.7173 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.2287, allocations: 8.375 kB / 0.7173 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.2288, allocations: 4.375 kB / 0.7173 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.229, allocations: 86.22 kB / 0.7174 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.229, allocations: 7.875 kB / 0.7174 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.229, allocations: 7.984 kB / 0.7174 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.229, allocations: 0 / 0.7174 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.2293, allocations: 47.95 kB / 0.7175 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.2299, allocations: 316.7 kB / 0.7178 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.2302, allocations: 86.47 kB / 0.7178 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.2303, allocations: 28.78 kB / 0.7179 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.2303, allocations: 4 kB / 0.7179 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.798e-05/0.2304, allocations: 34.55 kB / 0.7179 GB, free: 14.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.2304, allocations: 0 / 0.7179 GB, free: 14.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001745/0.2321, allocations: 0.6464 MB / 0.7185 GB, free: 13.67 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.2322, allocations: 59.39 kB / 0.7186 GB, free: 13.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.022e-05/0.2323, allocations: 97.8 kB / 0.7187 GB, free: 13.49 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.2323, allocations: 33.64 kB / 0.7187 GB, free: 13.45 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.2324, allocations: 92.06 kB / 0.7188 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.2324, allocations: 39.66 kB / 0.7188 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.2325, allocations: 29.7 kB / 0.7189 GB, free: 13.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2326, allocations: 322.8 kB / 0.7192 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.2327, allocations: 31.98 kB / 0.7192 GB, free: 12.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.2329, allocations: 38.69 kB / 0.7192 GB, free: 12.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.2331, allocations: 72.77 kB / 0.7193 GB, free: 12.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.2331, allocations: 0 / 0.7193 GB, free: 12.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003329/0.2335, allocations: 117.7 kB / 0.7194 GB, free: 12.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2335, allocations: 4 kB / 0.7194 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2335, allocations: 4 kB / 0.7194 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2335, allocations: 4 kB / 0.7194 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.2337, allocations: 27.92 kB / 0.7195 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.2337, allocations: 3.938 kB / 0.7195 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.824e-05/0.2337, allocations: 11.98 kB / 0.7195 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.2338, allocations: 4 kB / 0.7195 GB, free: 12.64 MB / 0.545 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 (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 9.404e-05/0.2338, allocations: 109.8 kB / 0.7196 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.2339, allocations: 4 kB / 0.7196 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003989/0.2343, allocations: 141.4 kB / 0.7197 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.2343, allocations: 0 / 0.7197 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.2343, allocations: 7.938 kB / 0.7197 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2343, allocations: 0 / 0.7197 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006061/0.2349, allocations: 374.5 kB / 0.7201 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2349, allocations: 0 / 0.7201 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.2351, allocations: 35.91 kB / 0.7201 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.2351, allocations: 3.938 kB / 0.7201 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.2351, allocations: 8 kB / 0.7201 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2351, allocations: 0 / 0.7201 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2351, allocations: 3.938 kB / 0.7201 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005403/0.2356, allocations: 247.9 kB / 0.7204 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.2357, allocations: 81.09 kB / 0.7205 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.2357, allocations: 7.969 kB / 0.7205 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.2358, allocations: 16.05 kB / 0.7205 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.2358, allocations: 7.938 kB / 0.7205 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.2358, allocations: 7.984 kB / 0.7205 GB, free: 11.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.565e-05/0.2359, allocations: 79.28 kB / 0.7206 GB, free: 11.42 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2359, allocations: 3.938 kB / 0.7206 GB, free: 11.42 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002936/0.2362, allocations: 35.88 kB / 0.7206 GB, free: 11.38 MB / 0.545 GB 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.001002/0.2372, allocations: 0.8239 MB / 0.7214 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003399/0.2375, allocations: 78.77 kB / 0.7215 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2375, allocations: 3.938 kB / 0.7215 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.2377, allocations: 47.91 kB / 0.7215 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.238, allocations: 18.64 kB / 0.7216 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.2402, allocations: 1.589 MB / 0.7231 GB, free: 8.727 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.2406, allocations: 0.6924 MB / 0.7238 GB, free: 8.008 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.418e-05/0.2406, allocations: 12.75 kB / 0.7238 GB, free: 7.996 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.2407, allocations: 23.44 kB / 0.7238 GB, free: 7.973 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.2407, allocations: 3.938 kB / 0.7238 GB, free: 7.969 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.2669, allocations: 2.378 MB / 0.7261 GB, free: 5.785 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.204/8.471, allocations: 10.44 kB / 0.7262 GB, free: 5.777 MB / 0.545 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.31705546999001] Failed to read output from testmodel.py, exit status != 0: 8.545435263004038 8.571401316 8.338898335 Calling exit ...