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.00141/0.00141, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001604/0.001604, allocations: 215.4 kB / 23.02 MB, free: 4.949 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9475/0.9475, allocations: 145 MB / 458.2 MB, free: 15.3 MB / 366.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.002018/0.002018, allocations: 66.67 kB / 0.6339 GB, free: 6.746 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1999, allocations: 87.89 MB / 0.7197 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.003048/0.203, allocations: 1.291 MB / 0.7209 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.2042, allocations: 0.5448 MB / 0.7215 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.95e-05/0.2042, allocations: 0 / 0.7215 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.2043, allocations: 7.938 kB / 0.7215 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.717e-05/0.2043, allocations: 3.938 kB / 0.7215 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007775/0.2051, allocations: 150.4 kB / 0.7216 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.754e-05/0.2052, allocations: 23.86 kB / 0.7217 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.2052, allocations: 0 / 0.7217 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.614e-05/0.2053, allocations: 11.94 kB / 0.7217 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.888e-05/0.2053, allocations: 11.97 kB / 0.7217 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.2053, allocations: 4 kB / 0.7217 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005188/0.2059, allocations: 279.5 kB / 0.722 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.2059, allocations: 11.98 kB / 0.722 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.2059, allocations: 7.938 kB / 0.722 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.2062, allocations: 135.5 kB / 0.7221 GB, free: 12.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.2062, allocations: 0 / 0.7221 GB, free: 12.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.325e-06/0.2062, allocations: 0 / 0.7221 GB, free: 12.4 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.2062, allocations: 0 / 0.7221 GB, free: 12.4 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000513/0.2068, allocations: 282 kB / 0.7224 GB, free: 12.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.2068, allocations: 12.03 kB / 0.7224 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.85e-05/0.2068, allocations: 192 / 0.7224 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.713e-05/0.2069, allocations: 34.75 kB / 0.7224 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.2069, allocations: 12.89 kB / 0.7224 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.207, allocations: 106.5 kB / 0.7225 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.207, allocations: 8.375 kB / 0.7225 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.207, allocations: 384 / 0.7225 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.2072, allocations: 71.7 kB / 0.7226 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2072, allocations: 0 / 0.7226 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2072, allocations: 0 / 0.7226 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.2072, allocations: 3.938 kB / 0.7226 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.679e-05/0.2073, allocations: 15.98 kB / 0.7226 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.2074, allocations: 120.8 kB / 0.7227 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.2076, allocations: 46.59 kB / 0.7228 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/0.2077, allocations: 24.88 kB / 0.7228 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.2077, allocations: 0 / 0.7228 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.2077, allocations: 42.5 kB / 0.7228 GB, free: 11.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2077, allocations: 3.938 kB / 0.7228 GB, free: 11.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0006676/0.2084, allocations: 229.1 kB / 0.7231 GB, free: 11.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.2085, allocations: 55.39 kB / 0.7231 GB, free: 11.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/0.2086, allocations: 97.86 kB / 0.7232 GB, free: 11.06 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.2086, allocations: 29.7 kB / 0.7232 GB, free: 11.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.2086, allocations: 80.14 kB / 0.7233 GB, free: 10.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.2087, allocations: 27.78 kB / 0.7233 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/0.2087, allocations: 21.72 kB / 0.7234 GB, free: 10.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.2089, allocations: 310.8 kB / 0.7237 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.23e-05/0.2089, allocations: 15.98 kB / 0.7237 GB, free: 10.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.409e-05/0.2089, allocations: 12 kB / 0.7237 GB, free: 10.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.827e-05/0.209, allocations: 24.86 kB / 0.7237 GB, free: 10.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.209, allocations: 0 / 0.7237 GB, free: 10.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001254/0.2091, allocations: 77.7 kB / 0.7238 GB, free: 10.44 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2091, allocations: 8 kB / 0.7238 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2091, allocations: 0 / 0.7238 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2092, allocations: 0 / 0.7238 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.222e-05/0.2092, allocations: 15.98 kB / 0.7238 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.2092, allocations: 0 / 0.7238 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.09e-05/0.2092, allocations: 4 kB / 0.7238 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.2092, allocations: 0 / 0.7238 GB, free: 10.41 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 (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 8.932e-05/0.2093, allocations: 113.8 kB / 0.7239 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.2093, allocations: 3.938 kB / 0.7239 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.2095, allocations: 77.62 kB / 0.724 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2095, allocations: 7.938 kB / 0.724 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.2095, allocations: 0 / 0.724 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2095, allocations: 0 / 0.724 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/0.2099, allocations: 290.6 kB / 0.7243 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.2099, allocations: 7.984 kB / 0.7243 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.45e-05/0.21, allocations: 12 kB / 0.7243 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.21, allocations: 0 / 0.7243 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.21, allocations: 0 / 0.7243 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.21, allocations: 4 kB / 0.7243 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.21, allocations: 3.938 kB / 0.7243 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.2102, allocations: 180.3 kB / 0.7245 GB, free: 9.633 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/0.2102, allocations: 7.984 kB / 0.7245 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.2102, allocations: 0 / 0.7245 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.2103, allocations: 16.08 kB / 0.7245 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.2103, allocations: 0 / 0.7245 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.2103, allocations: 4 kB / 0.7245 GB, free: 9.605 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.493e-05/0.2104, allocations: 79.8 kB / 0.7246 GB, free: 9.527 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2104, allocations: 0 / 0.7246 GB, free: 9.527 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002541/0.2107, allocations: 23.92 kB / 0.7246 GB, free: 9.504 MB / 0.545 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.0006575/0.2113, allocations: 0.7288 MB / 0.7253 GB, free: 8.746 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.2114, allocations: 31.98 kB / 0.7254 GB, free: 8.715 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2114, allocations: 0 / 0.7254 GB, free: 8.715 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.471e-05/0.2115, allocations: 27.98 kB / 0.7254 GB, free: 8.688 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.2117, allocations: 0 / 0.7254 GB, free: 8.688 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.2132, allocations: 1.339 MB / 0.7267 GB, free: 7.266 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.416e-05/0.2133, allocations: 63.34 kB / 0.7267 GB, free: 7.184 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.378e-05/0.2133, allocations: 8.031 kB / 0.7268 GB, free: 7.176 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.2133, allocations: 7.438 kB / 0.7268 GB, free: 7.168 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.2133, allocations: 4 kB / 0.7268 GB, free: 7.164 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.2381, allocations: 1.795 MB / 0.7285 GB, free: 5.555 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.84, allocations: 10.88 kB / 0.7285 GB, free: 5.551 MB / 0.545 GB " [Timeout remaining time 648] (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: 15.679518279968761] Failed to read output from testmodel.py, exit status != 0: 11.997680505970493 12.019869903 11.809079023 Calling exit ...