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.001791/0.001791, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002295/0.002295, allocations: 215.7 kB / 22.25 MB, free: 5.082 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 8.016 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.9014/0.9014, allocations: 145 MB / 457.4 MB, free: 15.53 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.003203/0.003203, allocations: 66.38 kB / 0.6332 GB, free: 7.281 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1996, allocations: 87.88 MB / 0.719 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002733/0.2023, allocations: 1.466 MB / 0.7204 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007227/0.2031, allocations: 387.5 kB / 0.7208 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.2031, allocations: 0 / 0.7208 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/0.2031, allocations: 4 kB / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.015e-05/0.2032, allocations: 3.938 kB / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.2036, allocations: 111.7 kB / 0.7209 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.418e-05/0.2036, allocations: 27.92 kB / 0.7209 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.496e-05/0.2037, allocations: 3.984 kB / 0.7209 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.31e-05/0.2038, allocations: 15.92 kB / 0.721 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.079e-05/0.2038, allocations: 15.92 kB / 0.721 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.2038, allocations: 8 kB / 0.721 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.2042, allocations: 279.6 kB / 0.7212 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.2042, allocations: 4 kB / 0.7212 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.2043, allocations: 11.94 kB / 0.7213 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.2045, allocations: 111.6 kB / 0.7214 GB, free: 12.97 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2045, allocations: 0 / 0.7214 GB, free: 12.97 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2045, allocations: 0 / 0.7214 GB, free: 12.97 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2045, allocations: 0 / 0.7214 GB, free: 12.97 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.0004577/0.2049, allocations: 286.1 kB / 0.7216 GB, free: 12.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.205, allocations: 16.03 kB / 0.7217 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.567e-05/0.205, allocations: 30.75 kB / 0.7217 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.205, allocations: 4.938 kB / 0.7217 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2051, allocations: 114.4 kB / 0.7218 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.2052, allocations: 4.375 kB / 0.7218 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.2052, allocations: 4.359 kB / 0.7218 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.2053, allocations: 50.23 kB / 0.7219 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2054, allocations: 3.938 kB / 0.7219 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.2054, allocations: 4 kB / 0.7219 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2054, allocations: 7.938 kB / 0.7219 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.2055, allocations: 35.89 kB / 0.7219 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.2058, allocations: 224 kB / 0.7221 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.206, allocations: 38.53 kB / 0.7222 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.862e-05/0.2061, allocations: 28.91 kB / 0.7222 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005328/0.2066, allocations: 75.91 kB / 0.7223 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.2066, allocations: 38.5 kB / 0.7223 GB, free: 11.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2066, allocations: 0 / 0.7223 GB, free: 11.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000354/0.207, allocations: 81.64 kB / 0.7224 GB, free: 11.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.207, allocations: 51.41 kB / 0.7224 GB, free: 11.74 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.849e-05/0.2071, allocations: 101.9 kB / 0.7225 GB, free: 11.63 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.2071, allocations: 25.7 kB / 0.7225 GB, free: 11.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.2071, allocations: 96.25 kB / 0.7226 GB, free: 11.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.2072, allocations: 3.953 kB / 0.7226 GB, free: 11.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.2072, allocations: 13.72 kB / 0.7226 GB, free: 11.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2073, allocations: 310.8 kB / 0.7229 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.077e-05/0.2074, allocations: 15.98 kB / 0.723 GB, free: 11.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.741e-05/0.2075, allocations: 23.97 kB / 0.723 GB, free: 11.13 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.2076, allocations: 44.83 kB / 0.723 GB, free: 11.08 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2076, allocations: 3.938 kB / 0.723 GB, free: 11.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002078/0.2079, allocations: 69.61 kB / 0.7231 GB, free: 11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2079, allocations: 4 kB / 0.7231 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.2079, allocations: 0 / 0.7231 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2079, allocations: 0 / 0.7231 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.98e-05/0.208, allocations: 16.02 kB / 0.7231 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.208, allocations: 0 / 0.7231 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/0.208, allocations: 4 kB / 0.7231 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.208, allocations: 0 / 0.7231 GB, free: 10.98 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 7.843e-05/0.2081, allocations: 117.8 kB / 0.7232 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.2081, allocations: 4 kB / 0.7232 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.2084, allocations: 81.22 kB / 0.7233 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2084, allocations: 0 / 0.7233 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2084, allocations: 0 / 0.7233 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2084, allocations: 0 / 0.7233 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.2085, allocations: 132.9 kB / 0.7234 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2085, allocations: 7.938 kB / 0.7234 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.2086, allocations: 8 kB / 0.7235 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2086, allocations: 0 / 0.7235 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.2086, allocations: 3.984 kB / 0.7235 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.2086, allocations: 0 / 0.7235 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2086, allocations: 4 kB / 0.7235 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.2089, allocations: 175.4 kB / 0.7236 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-06/0.2089, allocations: 0 / 0.7236 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.2089, allocations: 0 / 0.7236 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.209, allocations: 7.938 kB / 0.7236 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.209, allocations: 7.984 kB / 0.7236 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.209, allocations: 4.031 kB / 0.7236 GB, free: 10.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.117e-05/0.209, allocations: 83.28 kB / 0.7237 GB, free: 10.28 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.209, allocations: 0 / 0.7237 GB, free: 10.28 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000225/0.2093, allocations: 15.94 kB / 0.7237 GB, free: 10.26 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.0006175/0.2099, allocations: 0.7162 MB / 0.7244 GB, free: 9.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.2101, allocations: 35.97 kB / 0.7245 GB, free: 9.484 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2101, allocations: 4 kB / 0.7245 GB, free: 9.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.012e-05/0.2102, allocations: 15.97 kB / 0.7245 GB, free: 9.465 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.2104, allocations: 8 kB / 0.7245 GB, free: 9.457 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.2108, allocations: 143.2 kB / 0.7246 GB, free: 9.277 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.2112, allocations: 0.6807 MB / 0.7253 GB, free: 8.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.996e-05/0.2112, allocations: 0 / 0.7253 GB, free: 8.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.2113, allocations: 7.438 kB / 0.7253 GB, free: 8.566 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.2113, allocations: 3.938 kB / 0.7253 GB, free: 8.562 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.2389, allocations: 1.73 MB / 0.727 GB, free: 6.965 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.07, allocations: 6.453 kB / 0.727 GB, free: 6.961 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: 14.858997822000674] Failed to read output from testmodel.py, exit status != 0: 11.172991591996833 11.19829418 10.98882799 Calling exit ...