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.001775/0.001775, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002129/0.002129, allocations: 213.6 kB / 22.25 MB, free: 5.262 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.797 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.9579/0.9579, allocations: 145 MB / 457.4 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="me",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="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.002157/0.002157, allocations: 66.31 kB / 0.6331 GB, free: 6.742 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1787, allocations: 87.88 MB / 0.7189 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002693/0.1814, allocations: 1.263 MB / 0.7202 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1825, allocations: 0.537 MB / 0.7207 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.1825, allocations: 0 / 0.7207 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.1825, allocations: 0 / 0.7207 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.295e-05/0.1825, allocations: 0 / 0.7207 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.1831, allocations: 139.4 kB / 0.7208 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.601e-05/0.1832, allocations: 23.86 kB / 0.7208 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.367e-05/0.1832, allocations: 0 / 0.7208 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.415e-05/0.1832, allocations: 4 kB / 0.7208 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.145e-05/0.1833, allocations: 7.984 kB / 0.7208 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.1833, allocations: 0 / 0.7208 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004515/0.1837, allocations: 267.5 kB / 0.7211 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.1837, allocations: 0 / 0.7211 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.1838, allocations: 7.938 kB / 0.7211 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.184, allocations: 127.6 kB / 0.7212 GB, free: 12.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.184, allocations: 0 / 0.7212 GB, free: 12.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.353e-06/0.184, allocations: 4 kB / 0.7212 GB, free: 12.49 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.184, allocations: 0 / 0.7212 GB, free: 12.49 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.0003983/0.1844, allocations: 278 kB / 0.7215 GB, free: 12.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1845, allocations: 8.031 kB / 0.7215 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.1845, allocations: 38.73 kB / 0.7215 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.1845, allocations: 4.938 kB / 0.7215 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1846, allocations: 102.5 kB / 0.7216 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1846, allocations: 384 / 0.7216 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.1847, allocations: 4.375 kB / 0.7216 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.1848, allocations: 34.2 kB / 0.7217 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1848, allocations: 3.938 kB / 0.7217 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.1848, allocations: 4 kB / 0.7217 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1848, allocations: 0 / 0.7217 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.734e-05/0.1848, allocations: 3.984 kB / 0.7217 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.185, allocations: 128.7 kB / 0.7218 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.84e-05/0.185, allocations: 22.61 kB / 0.7218 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.029e-05/0.1851, allocations: 8.859 kB / 0.7218 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.1851, allocations: 0 / 0.7218 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.1851, allocations: 42.55 kB / 0.7219 GB, free: 11.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.1851, allocations: 0 / 0.7219 GB, free: 11.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001411/0.1852, allocations: 37.64 kB / 0.7219 GB, free: 11.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.1853, allocations: 55.41 kB / 0.722 GB, free: 11.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.56e-05/0.1854, allocations: 94.08 kB / 0.7221 GB, free: 11.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.1854, allocations: 29.73 kB / 0.7221 GB, free: 11.44 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.1854, allocations: 84.12 kB / 0.7222 GB, free: 11.35 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.1855, allocations: 11.89 kB / 0.7222 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.1855, allocations: 13.72 kB / 0.7222 GB, free: 11.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1857, allocations: 314.8 kB / 0.7225 GB, free: 11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.1857, allocations: 0 / 0.7225 GB, free: 11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.919e-06/0.1857, allocations: 4 kB / 0.7225 GB, free: 11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.257e-05/0.1857, allocations: 16.8 kB / 0.7225 GB, free: 10.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1857, allocations: 0 / 0.7225 GB, free: 10.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.785e-05/0.1858, allocations: 41.75 kB / 0.7226 GB, free: 10.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1858, allocations: 7.938 kB / 0.7226 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1858, allocations: 7.938 kB / 0.7226 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1858, allocations: 0 / 0.7226 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.186, allocations: 11.98 kB / 0.7226 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004824/0.1864, allocations: 0.586 MB / 0.7232 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.1865, allocations: 0 / 0.7232 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.1865, allocations: 0 / 0.7232 GB, free: 10.3 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.0001026/0.1866, allocations: 119.8 kB / 0.7233 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.1866, allocations: 4 kB / 0.7233 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.1867, allocations: 45 kB / 0.7233 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1867, allocations: 0 / 0.7233 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1867, allocations: 0 / 0.7233 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1867, allocations: 0 / 0.7233 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.1868, allocations: 136.6 kB / 0.7234 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1868, allocations: 0 / 0.7234 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.928e-05/0.1869, allocations: 15.92 kB / 0.7235 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1869, allocations: 0 / 0.7235 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1869, allocations: 8 kB / 0.7235 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000381/0.1873, allocations: 0.586 MB / 0.724 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1873, allocations: 3.938 kB / 0.724 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.751e-05/0.1874, allocations: 61.17 kB / 0.7241 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-06/0.1874, allocations: 3.938 kB / 0.7241 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.1874, allocations: 3.984 kB / 0.7241 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.389e-05/0.1874, allocations: 0 / 0.7241 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.1874, allocations: 7.938 kB / 0.7241 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.1874, allocations: 0 / 0.7241 GB, free: 9.211 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.447e-05/0.1875, allocations: 83.41 kB / 0.7242 GB, free: 9.129 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1875, allocations: 0 / 0.7242 GB, free: 9.129 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001896/0.1877, allocations: 11.94 kB / 0.7242 GB, free: 9.117 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.0004669/0.1881, allocations: 0.6124 MB / 0.7248 GB, free: 8.473 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001652/0.1883, allocations: 23.92 kB / 0.7248 GB, free: 8.449 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1883, allocations: 4 kB / 0.7248 GB, free: 8.445 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.07e-05/0.1884, allocations: 8 kB / 0.7248 GB, free: 8.438 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.1885, allocations: 16.17 kB / 0.7249 GB, free: 8.422 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004927/0.189, allocations: 135.7 kB / 0.725 GB, free: 8.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.879e-05/0.1891, allocations: 55.36 kB / 0.725 GB, free: 8.176 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.674e-05/0.1891, allocations: 4 kB / 0.725 GB, free: 8.172 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.1891, allocations: 7.438 kB / 0.7251 GB, free: 8.164 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.1891, allocations: 0 / 0.7251 GB, free: 8.164 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.2196, allocations: 1.809 MB / 0.7268 GB, free: 6.531 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/12.86, allocations: 16.06 kB / 0.7268 GB, free: 6.523 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 16.753889178857207] Failed to read output from testmodel.py, exit status != 0: 12.97074183402583 12.985788228 12.798697408 Calling exit ...