Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001297/0.001297, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001505/0.001505, allocations: 214 kB / 23.03 MB, free: 4.953 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9367/0.9367, 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.InvertingBasicFlowFunction_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.00199/0.00199, allocations: 62.19 kB / 0.6338 GB, free: 6.727 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1939, allocations: 87.89 MB / 0.7197 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.004193/0.1981, allocations: 1.274 MB / 0.7209 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.1996, allocations: 0.5215 MB / 0.7214 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.1997, allocations: 7.938 kB / 0.7214 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.1997, allocations: 4 kB / 0.7214 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.654e-05/0.1997, allocations: 0 / 0.7214 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007391/0.2005, allocations: 146.8 kB / 0.7216 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.121e-05/0.2005, allocations: 11.92 kB / 0.7216 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.965e-05/0.2006, allocations: 3.984 kB / 0.7216 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.293e-05/0.2006, allocations: 7.938 kB / 0.7216 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.695e-05/0.2007, allocations: 4 kB / 0.7216 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.2007, allocations: 0 / 0.7216 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006193/0.2013, allocations: 287.5 kB / 0.7219 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.2013, allocations: 0 / 0.7219 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.2014, allocations: 7.938 kB / 0.7219 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.2017, allocations: 127.6 kB / 0.722 GB, free: 12.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.2017, allocations: 3.984 kB / 0.722 GB, free: 12.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2017, allocations: 0 / 0.722 GB, free: 12.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.2017, allocations: 0 / 0.722 GB, free: 12.45 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004856/0.2022, allocations: 274 kB / 0.7223 GB, free: 12.15 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.2022, allocations: 12.03 kB / 0.7223 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.705e-05/0.2022, allocations: 192 / 0.7223 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.978e-05/0.2023, allocations: 34.69 kB / 0.7223 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.2023, allocations: 4.938 kB / 0.7223 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.2024, allocations: 110.5 kB / 0.7224 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.2024, allocations: 384 / 0.7224 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.2024, allocations: 384 / 0.7224 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.2025, allocations: 42 kB / 0.7225 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.2026, allocations: 0 / 0.7225 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.2026, allocations: 0 / 0.7225 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.2026, allocations: 0 / 0.7225 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.964e-05/0.2026, allocations: 4 kB / 0.7225 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.2028, allocations: 124.7 kB / 0.7226 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.948e-05/0.2029, allocations: 30.53 kB / 0.7226 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.138e-05/0.2029, allocations: 12.92 kB / 0.7226 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.2029, allocations: 0 / 0.7226 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.2029, allocations: 34.5 kB / 0.7227 GB, free: 11.64 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.2029, allocations: 0 / 0.7227 GB, free: 11.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001523/0.2031, allocations: 37.7 kB / 0.7227 GB, free: 11.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.2031, allocations: 55.39 kB / 0.7228 GB, free: 11.54 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.2033, allocations: 97.86 kB / 0.7229 GB, free: 11.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.2033, allocations: 25.95 kB / 0.7229 GB, free: 11.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.2033, allocations: 84.14 kB / 0.723 GB, free: 11.31 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.2034, allocations: 7.891 kB / 0.723 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.2034, allocations: 17.72 kB / 0.723 GB, free: 11.28 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002606/0.2037, allocations: 314.8 kB / 0.7233 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/0.2037, allocations: 7.984 kB / 0.7233 GB, free: 10.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.506e-06/0.2037, allocations: 0 / 0.7233 GB, free: 10.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.369e-05/0.2037, allocations: 16.86 kB / 0.7233 GB, free: 10.94 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2037, allocations: 0 / 0.7233 GB, free: 10.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.234e-05/0.2038, allocations: 33.7 kB / 0.7233 GB, free: 10.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.2038, allocations: 12.03 kB / 0.7233 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2038, allocations: 0 / 0.7233 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2038, allocations: 0 / 0.7233 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.204, allocations: 15.92 kB / 0.7234 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00066/0.2046, allocations: 0.5822 MB / 0.7239 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/0.2047, allocations: 8 kB / 0.7239 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.2047, allocations: 0 / 0.7239 GB, free: 10.26 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.2048, allocations: 119.4 kB / 0.7241 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.2048, allocations: 4 kB / 0.7241 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.2049, allocations: 49.05 kB / 0.7241 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2049, allocations: 0 / 0.7241 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2049, allocations: 0 / 0.7241 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.2049, allocations: 3.984 kB / 0.7241 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.2052, allocations: 132.6 kB / 0.7242 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2052, allocations: 0 / 0.7242 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.533e-05/0.2052, allocations: 11.98 kB / 0.7242 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.2052, allocations: 0 / 0.7242 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.2053, allocations: 0 / 0.7242 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007461/0.206, allocations: 0.5899 MB / 0.7248 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.206, allocations: 0 / 0.7248 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.945e-05/0.2061, allocations: 65.06 kB / 0.7249 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-06/0.2061, allocations: 4 kB / 0.7249 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.2061, allocations: 0 / 0.7249 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.612e-05/0.2061, allocations: 3.938 kB / 0.7249 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.2061, allocations: 0 / 0.7249 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.2062, allocations: 3.984 kB / 0.7249 GB, free: 9.176 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.76e-05/0.2062, allocations: 79.28 kB / 0.725 GB, free: 9.098 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2062, allocations: 224 / 0.725 GB, free: 9.098 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002/0.2064, allocations: 23.92 kB / 0.725 GB, free: 9.074 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005517/0.2069, allocations: 0.6084 MB / 0.7256 GB, free: 8.434 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.2071, allocations: 15.98 kB / 0.7256 GB, free: 8.418 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2071, allocations: 0 / 0.7256 GB, free: 8.418 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.719e-05/0.2072, allocations: 19.98 kB / 0.7256 GB, free: 8.398 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.2074, allocations: 6.781 kB / 0.7256 GB, free: 8.395 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.2079, allocations: 143.9 kB / 0.7258 GB, free: 8.215 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.726e-05/0.2079, allocations: 59.34 kB / 0.7258 GB, free: 8.137 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.47e-05/0.2079, allocations: 7.938 kB / 0.7258 GB, free: 8.129 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.208, allocations: 7.438 kB / 0.7258 GB, free: 8.121 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.208, allocations: 0 / 0.7258 GB, free: 8.121 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.2319, allocations: 1.472 MB / 0.7273 GB, free: 6.836 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.24, allocations: 14.52 kB / 0.7273 GB, free: 6.824 MB / 0.545 GB " [Timeout remaining time 647] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.067198064993136] Failed to read output from testmodel.py, exit status != 0: 13.410432465956546 13.436437561 13.229575888 Calling exit ...