Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.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.001763/0.001763, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002219/0.002219, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.599/1.599, allocations: 230.6 MB / 256 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.9433/0.9433, allocations: 145 MB / 457.4 MB, free: 15.26 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.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower",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.003291/0.003291, allocations: 74.22 kB / 0.6331 GB, free: 6.703 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1938, allocations: 87.9 MB / 0.7189 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.003385/0.1972, allocations: 1.448 MB / 0.7203 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008887/0.1981, allocations: 351.7 kB / 0.7207 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.232e-05/0.1981, allocations: 4 kB / 0.7207 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.564e-05/0.1981, allocations: 3.938 kB / 0.7207 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.324e-05/0.1982, allocations: 3.938 kB / 0.7207 GB, free: 13 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.1987, allocations: 111.7 kB / 0.7208 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.441e-05/0.1988, allocations: 27.92 kB / 0.7208 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1989, allocations: 4 kB / 0.7208 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.691e-05/0.199, allocations: 19.91 kB / 0.7208 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.199, allocations: 11.94 kB / 0.7209 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1991, allocations: 0 / 0.7209 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004692/0.1995, allocations: 263.6 kB / 0.7211 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.1995, allocations: 4 kB / 0.7211 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.1996, allocations: 7.938 kB / 0.7211 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.1998, allocations: 115.6 kB / 0.7212 GB, free: 12.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1998, allocations: 0 / 0.7212 GB, free: 12.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1998, allocations: 4 kB / 0.7212 GB, free: 12.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.1998, allocations: 0 / 0.7212 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005515/0.2004, allocations: 290 kB / 0.7215 GB, free: 12.13 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.2004, allocations: 12.03 kB / 0.7215 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.2005, allocations: 30.75 kB / 0.7216 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.941e-05/0.2005, allocations: 4.875 kB / 0.7216 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.2007, allocations: 114.5 kB / 0.7217 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.2007, allocations: 4.375 kB / 0.7217 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.2007, allocations: 384 / 0.7217 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.2009, allocations: 54.23 kB / 0.7217 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2009, allocations: 3.938 kB / 0.7217 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.2009, allocations: 4 kB / 0.7217 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.2009, allocations: 3.984 kB / 0.7217 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.2011, allocations: 31.95 kB / 0.7218 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.2015, allocations: 220 kB / 0.722 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.2016, allocations: 38.5 kB / 0.722 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9e-05/0.2017, allocations: 28.91 kB / 0.722 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000529/0.2023, allocations: 75.91 kB / 0.7221 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.2023, allocations: 34.56 kB / 0.7221 GB, free: 11.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.2023, allocations: 4 kB / 0.7221 GB, free: 11.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003905/0.2027, allocations: 85.58 kB / 0.7222 GB, free: 11.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.2027, allocations: 51.41 kB / 0.7223 GB, free: 11.22 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.2028, allocations: 101.9 kB / 0.7224 GB, free: 11.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.2028, allocations: 25.7 kB / 0.7224 GB, free: 11.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/0.2029, allocations: 84.12 kB / 0.7225 GB, free: 11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.2029, allocations: 15.89 kB / 0.7225 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.203, allocations: 9.719 kB / 0.7225 GB, free: 10.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2031, allocations: 322.9 kB / 0.7228 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.512e-05/0.2032, allocations: 19.97 kB / 0.7228 GB, free: 10.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/0.2033, allocations: 11.98 kB / 0.7228 GB, free: 10.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.2034, allocations: 40.83 kB / 0.7229 GB, free: 10.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.2034, allocations: 3.938 kB / 0.7229 GB, free: 10.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002361/0.2037, allocations: 77.61 kB / 0.723 GB, free: 10.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.2037, allocations: 8 kB / 0.723 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2037, allocations: 0 / 0.723 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.2037, allocations: 0 / 0.723 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.877e-05/0.2038, allocations: 11.98 kB / 0.723 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2038, allocations: 0 / 0.723 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.2038, allocations: 4 kB / 0.723 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.2038, allocations: 0 / 0.723 GB, free: 10.46 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): 2 * 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.469e-05/0.2039, allocations: 121.8 kB / 0.7231 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.204, allocations: 4 kB / 0.7231 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.2042, allocations: 73.22 kB / 0.7232 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2042, allocations: 0 / 0.7232 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2042, allocations: 0 / 0.7232 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2042, allocations: 0 / 0.7232 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.2044, allocations: 132.7 kB / 0.7233 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.2044, allocations: 4 kB / 0.7233 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.543e-05/0.2045, allocations: 8.234 kB / 0.7233 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2045, allocations: 4.031 kB / 0.7233 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.2045, allocations: 4 kB / 0.7233 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2045, allocations: 0 / 0.7233 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2045, allocations: 4 kB / 0.7233 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.2048, allocations: 163.4 kB / 0.7235 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.2048, allocations: 7.938 kB / 0.7235 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.2048, allocations: 4 kB / 0.7235 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.2049, allocations: 7.984 kB / 0.7235 GB, free: 9.852 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.2049, allocations: 4.031 kB / 0.7235 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.2049, allocations: 0 / 0.7235 GB, free: 9.848 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.098e-05/0.205, allocations: 91.2 kB / 0.7236 GB, free: 9.758 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.205, allocations: 0 / 0.7236 GB, free: 9.758 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002551/0.2052, allocations: 15.94 kB / 0.7236 GB, free: 9.742 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): 2 * 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.0006796/0.2059, allocations: 0.7085 MB / 0.7243 GB, free: 9.008 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.2061, allocations: 39.98 kB / 0.7243 GB, free: 8.969 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2061, allocations: 0 / 0.7243 GB, free: 8.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.871e-05/0.2062, allocations: 23.92 kB / 0.7244 GB, free: 8.945 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.2065, allocations: 7.938 kB / 0.7244 GB, free: 8.938 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004928/0.207, allocations: 147.1 kB / 0.7245 GB, free: 8.754 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.771e-05/0.2071, allocations: 63.34 kB / 0.7246 GB, free: 8.672 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.68e-05/0.2071, allocations: 4.125 kB / 0.7246 GB, free: 8.668 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.2072, allocations: 11.44 kB / 0.7246 GB, free: 8.656 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.2072, allocations: 4 kB / 0.7246 GB, free: 8.652 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/0.2387, allocations: 2.139 MB / 0.7267 GB, free: 6.652 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.32, allocations: 4.875 kB / 0.7267 GB, free: 6.652 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower_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_Utilities_Math_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.288640482816845] Failed to read output from testmodel.py, exit status != 0: 11.42467482574284 11.438937102 11.235986211 Calling exit ...