Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.001845/0.001845, allocations: 113 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.002317/0.002317, allocations: 209.6 kB / 22.25 MB, free: 5.086 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 8.012 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.9689/0.9689, allocations: 145 MB / 457.4 MB, free: 15.56 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.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_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.003024/0.003024, allocations: 62.56 kB / 0.6332 GB, free: 7.297 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2118, allocations: 87.88 MB / 0.719 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001889/0.2137, allocations: 0.5832 MB / 0.7196 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000769/0.2144, allocations: 334.7 kB / 0.7199 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.2145, allocations: 0 / 0.7199 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.2145, allocations: 0 / 0.7199 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.284e-06/0.2145, allocations: 0 / 0.7199 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004617/0.215, allocations: 106.2 kB / 0.72 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.099e-05/0.215, allocations: 0 / 0.72 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.215, allocations: 3.984 kB / 0.72 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.296e-05/0.2151, allocations: 3.938 kB / 0.72 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.322e-05/0.2151, allocations: 4 kB / 0.72 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.2151, allocations: 4 kB / 0.72 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004238/0.2155, allocations: 271.7 kB / 0.7203 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.2155, allocations: 7.984 kB / 0.7203 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.679e-05/0.2155, allocations: 0 / 0.7203 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.2157, allocations: 83.8 kB / 0.7204 GB, free: 14.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.2157, allocations: 0 / 0.7204 GB, free: 14.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2157, allocations: 0 / 0.7204 GB, free: 14.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.2157, allocations: 0 / 0.7204 GB, free: 14.04 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003394/0.2161, allocations: 262.2 kB / 0.7206 GB, free: 13.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.2161, allocations: 16.03 kB / 0.7207 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.593e-05/0.2161, allocations: 30.75 kB / 0.7207 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.2162, allocations: 0.9375 kB / 0.7207 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.842e-05/0.2163, allocations: 102.5 kB / 0.7208 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.2163, allocations: 4.359 kB / 0.7208 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.2163, allocations: 4.359 kB / 0.7208 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.2164, allocations: 34.27 kB / 0.7208 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.2164, allocations: 3.938 kB / 0.7208 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.2165, allocations: 0 / 0.7208 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2165, allocations: 0 / 0.7208 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.647e-05/0.2165, allocations: 11.94 kB / 0.7208 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.2166, allocations: 120.6 kB / 0.721 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.589e-05/0.2167, allocations: 14.58 kB / 0.721 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.026e-05/0.2167, allocations: 16.94 kB / 0.721 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000369/0.2171, allocations: 43.97 kB / 0.721 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.2171, allocations: 30.56 kB / 0.7211 GB, free: 13.22 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.2171, allocations: 0 / 0.7211 GB, free: 13.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001846/0.2173, allocations: 41.58 kB / 0.7211 GB, free: 13.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.2174, allocations: 55.39 kB / 0.7211 GB, free: 13.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.965e-05/0.2174, allocations: 89.86 kB / 0.7212 GB, free: 13.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.2174, allocations: 25.7 kB / 0.7213 GB, free: 12.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.2175, allocations: 84.27 kB / 0.7213 GB, free: 12.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.2175, allocations: 0 / 0.7213 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.2175, allocations: 17.72 kB / 0.7214 GB, free: 12.87 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.2177, allocations: 310.8 kB / 0.7216 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.2177, allocations: 0 / 0.7216 GB, free: 12.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-06/0.2177, allocations: 4 kB / 0.7217 GB, free: 12.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.639e-05/0.2178, allocations: 4.859 kB / 0.7217 GB, free: 12.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2178, allocations: 0 / 0.7217 GB, free: 12.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.231e-05/0.2178, allocations: 45.69 kB / 0.7217 GB, free: 12.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2178, allocations: 7.938 kB / 0.7217 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2179, allocations: 3.938 kB / 0.7217 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2179, allocations: 0 / 0.7217 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.108e-05/0.2179, allocations: 8 kB / 0.7217 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2179, allocations: 0 / 0.7217 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.21e-05/0.2179, allocations: 4 kB / 0.7217 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-06/0.2179, allocations: 0 / 0.7217 GB, free: 12.47 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 (1): * Single equations (assignments): 1 * 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.462e-05/0.218, allocations: 105.8 kB / 0.7218 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.218, allocations: 8.031 kB / 0.7218 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.2181, allocations: 44.56 kB / 0.7219 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.2181, allocations: 0 / 0.7219 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2181, allocations: 0 / 0.7219 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.2182, allocations: 0 / 0.7219 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.2183, allocations: 124.8 kB / 0.722 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2183, allocations: 3.984 kB / 0.722 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.056e-05/0.2183, allocations: 0 / 0.722 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.2183, allocations: 0 / 0.722 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.2183, allocations: 7.969 kB / 0.722 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2183, allocations: 4 kB / 0.722 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2183, allocations: 0 / 0.722 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.179e-05/0.2184, allocations: 49.14 kB / 0.7221 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.2184, allocations: 11.98 kB / 0.7221 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.2184, allocations: 3.938 kB / 0.7221 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-06/0.2184, allocations: 3.938 kB / 0.7221 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.2184, allocations: 7.969 kB / 0.7221 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.2184, allocations: 0 / 0.7221 GB, free: 12.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.2185, allocations: 75.28 kB / 0.7222 GB, free: 11.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.2185, allocations: 0 / 0.7222 GB, free: 11.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002044/0.2187, allocations: 12 kB / 0.7222 GB, free: 11.94 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 (1): * Single equations (assignments): 1 * 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.0004671/0.2191, allocations: 0.6085 MB / 0.7228 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.278e-05/0.2192, allocations: 4 kB / 0.7228 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2192, allocations: 3.938 kB / 0.7228 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-05/0.2192, allocations: 7.984 kB / 0.7228 GB, free: 11.28 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.2193, allocations: 2.062 kB / 0.7228 GB, free: 11.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.2197, allocations: 114.5 kB / 0.7229 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.22, allocations: 0.669 MB / 0.7235 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.123e-05/0.22, allocations: 12.11 kB / 0.7236 GB, free: 10.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.918e-05/0.22, allocations: 7.438 kB / 0.7236 GB, free: 10.41 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.22, allocations: 0 / 0.7236 GB, free: 10.41 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.2479, allocations: 1.298 MB / 0.7248 GB, free: 9.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.09, allocations: 5.891 kB / 0.7248 GB, free: 9.246 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.991155555002479] Failed to read output from testmodel.py, exit status != 0: 11.191152840998257 11.22085169 10.999806647 Calling exit ...