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.00135/0.00135, allocations: 106.1 kB / 16.45 MB, free: 6.453 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.001408/0.001408, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.448/1.448, allocations: 230.6 MB / 252.8 MB, free: 8.977 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 1.019/1.019, allocations: 145 MB / 453.8 MB, free: 0.7109 MB / 350.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.002818/0.002818, allocations: 66.41 kB / 0.628 GB, free: 10.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.2011, allocations: 87.83 MB / 0.7138 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002784/0.2039, allocations: 1.453 MB / 0.7152 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008259/0.2048, allocations: 395.4 kB / 0.7156 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.568e-05/0.2048, allocations: 0 / 0.7156 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.328e-05/0.2048, allocations: 3.938 kB / 0.7156 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.599e-05/0.2049, allocations: 0 / 0.7156 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.2053, allocations: 119.6 kB / 0.7157 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.895e-05/0.2054, allocations: 19.92 kB / 0.7157 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.892e-05/0.2055, allocations: 12.28 kB / 0.7158 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.286e-05/0.2055, allocations: 11.92 kB / 0.7158 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.675e-05/0.2055, allocations: 7.984 kB / 0.7158 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.2055, allocations: 4 kB / 0.7158 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/0.2059, allocations: 279.6 kB / 0.716 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.206, allocations: 7.938 kB / 0.716 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.206, allocations: 15.92 kB / 0.7161 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.2062, allocations: 103.7 kB / 0.7162 GB, free: 416 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2062, allocations: 0 / 0.7162 GB, free: 416 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2062, allocations: 0 / 0.7162 GB, free: 416 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.2062, allocations: 0 / 0.7162 GB, free: 416 kB / 0.5294 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.0005532/0.2068, allocations: 371.3 kB / 0.7165 GB, free: 15.99 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.2068, allocations: 12.03 kB / 0.7165 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.2068, allocations: 30.75 kB / 0.7166 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.2069, allocations: 0.9375 kB / 0.7166 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.207, allocations: 176.3 kB / 0.7167 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.207, allocations: 384 / 0.7167 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-06/0.207, allocations: 384 / 0.7167 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.2072, allocations: 57.94 kB / 0.7168 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2072, allocations: 3.984 kB / 0.7168 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.2073, allocations: 0 / 0.7168 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.2073, allocations: 4 kB / 0.7168 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.2074, allocations: 31.97 kB / 0.7168 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.2078, allocations: 252.9 kB / 0.7171 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.2079, allocations: 42.5 kB / 0.7171 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.173e-05/0.208, allocations: 20.91 kB / 0.7171 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007499/0.2088, allocations: 461.5 kB / 0.7176 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.2088, allocations: 34.56 kB / 0.7176 GB, free: 14.67 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.2088, allocations: 0 / 0.7176 GB, free: 14.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004021/0.2092, allocations: 85.64 kB / 0.7177 GB, free: 14.58 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.2092, allocations: 55.47 kB / 0.7177 GB, free: 14.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.949e-05/0.2093, allocations: 109.8 kB / 0.7178 GB, free: 14.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.2093, allocations: 25.7 kB / 0.7179 GB, free: 14.37 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.2094, allocations: 88.08 kB / 0.7179 GB, free: 14.28 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.2094, allocations: 7.891 kB / 0.7179 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.2094, allocations: 13.72 kB / 0.718 GB, free: 14.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2096, allocations: 318.8 kB / 0.7183 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.455e-05/0.2097, allocations: 11.98 kB / 0.7183 GB, free: 13.92 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/0.2097, allocations: 23.98 kB / 0.7183 GB, free: 13.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.2099, allocations: 44.75 kB / 0.7183 GB, free: 13.85 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2099, allocations: 0 / 0.7183 GB, free: 13.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002147/0.2101, allocations: 69.62 kB / 0.7184 GB, free: 13.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2101, allocations: 4.094 kB / 0.7184 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2101, allocations: 4 kB / 0.7184 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2102, allocations: 3.984 kB / 0.7184 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.2102, allocations: 11.94 kB / 0.7184 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2102, allocations: 0 / 0.7184 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.2103, allocations: 11.92 kB / 0.7184 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.2103, allocations: 0 / 0.7184 GB, free: 13.74 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.083e-05/0.2104, allocations: 113.8 kB / 0.7186 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.2104, allocations: 0 / 0.7186 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.2107, allocations: 77.44 kB / 0.7186 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.2107, allocations: 3.984 kB / 0.7186 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2107, allocations: 4 kB / 0.7186 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2107, allocations: 3.984 kB / 0.7186 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.2109, allocations: 161.6 kB / 0.7188 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2109, allocations: 0 / 0.7188 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.888e-05/0.2109, allocations: 7.984 kB / 0.7188 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2109, allocations: 0 / 0.7188 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.2109, allocations: 4.031 kB / 0.7188 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.2109, allocations: 7.938 kB / 0.7188 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2109, allocations: 0 / 0.7188 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.2112, allocations: 163.5 kB / 0.719 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.2112, allocations: 81.06 kB / 0.719 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.2113, allocations: 0 / 0.719 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/0.2113, allocations: 12.02 kB / 0.7191 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.2114, allocations: 11.94 kB / 0.7191 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.2114, allocations: 0 / 0.7191 GB, free: 13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.499e-05/0.2114, allocations: 83.27 kB / 0.7191 GB, free: 12.92 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2114, allocations: 0 / 0.7191 GB, free: 12.92 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002337/0.2117, allocations: 12 kB / 0.7192 GB, free: 12.91 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.0006759/0.2123, allocations: 0.7201 MB / 0.7199 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.2126, allocations: 31.97 kB / 0.7199 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2126, allocations: 0 / 0.7199 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.345e-05/0.2127, allocations: 28.02 kB / 0.7199 GB, free: 12.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.2129, allocations: 4 kB / 0.7199 GB, free: 12.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/0.2134, allocations: 151 kB / 0.7201 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.2137, allocations: 0.6768 MB / 0.7207 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.284e-05/0.2137, allocations: 0 / 0.7207 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.2138, allocations: 15.44 kB / 0.7207 GB, free: 11.19 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.2138, allocations: 0 / 0.7207 GB, free: 11.19 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.2382, allocations: 1.625 MB / 0.7223 GB, free: 9.664 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/7.949, allocations: 0 / 0.7223 GB, free: 9.664 MB / 0.545 GB " [Timeout remaining time 652] (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: 11.797580280996044] Failed to read output from testmodel.py, exit status != 0: 8.019429121006397 8.042815548 7.832243909 Calling exit ...