Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.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.001753/0.001753, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001711/0.001711, allocations: 204.8 kB / 22.24 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.614/1.614, allocations: 230.6 MB / 256 MB, free: 7.793 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.9142/0.9142, 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.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized",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.002076/0.002076, allocations: 69.47 kB / 0.6331 GB, free: 6.723 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1882, allocations: 87.88 MB / 0.7189 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002822/0.191, allocations: 1.452 MB / 0.7203 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002983/0.1913, allocations: 88.61 kB / 0.7204 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.1913, allocations: 0 / 0.7204 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/0.1913, allocations: 0 / 0.7204 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.1915, allocations: 7.922 kB / 0.7204 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.1917, allocations: 27.91 kB / 0.7205 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.247e-05/0.1918, allocations: 27.86 kB / 0.7205 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.87e-05/0.1918, allocations: 8 kB / 0.7205 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.806e-05/0.1919, allocations: 4 kB / 0.7205 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.275e-05/0.1919, allocations: 15.92 kB / 0.7205 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.1919, allocations: 0 / 0.7205 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.706e-05/0.192, allocations: 15.98 kB / 0.7205 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.192, allocations: 4 kB / 0.7205 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.192, allocations: 7.938 kB / 0.7205 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.1922, allocations: 39.81 kB / 0.7206 GB, free: 13.15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1922, allocations: 4 kB / 0.7206 GB, free: 13.15 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1922, allocations: 7.938 kB / 0.7206 GB, free: 13.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1922, allocations: 0 / 0.7206 GB, free: 13.14 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.0006213/0.1928, allocations: 266.3 kB / 0.7208 GB, free: 12.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1928, allocations: 8.031 kB / 0.7209 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.035e-05/0.1929, allocations: 30.75 kB / 0.7209 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.1931, allocations: 16.91 kB / 0.7209 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.1932, allocations: 110.5 kB / 0.721 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.1932, allocations: 384 / 0.721 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.1932, allocations: 384 / 0.721 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.1934, allocations: 62.23 kB / 0.7211 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1935, allocations: 3.938 kB / 0.7211 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1935, allocations: 0 / 0.7211 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.1935, allocations: 11.98 kB / 0.7211 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.1937, allocations: 47.89 kB / 0.7211 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.1941, allocations: 220.1 kB / 0.7213 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.1943, allocations: 58.48 kB / 0.7214 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.1944, allocations: 28.89 kB / 0.7214 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.1944, allocations: 0 / 0.7214 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.1944, allocations: 34.56 kB / 0.7214 GB, free: 12.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1944, allocations: 0 / 0.7214 GB, free: 12.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004255/0.1949, allocations: 109.7 kB / 0.7216 GB, free: 12.01 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.1949, allocations: 55.34 kB / 0.7216 GB, free: 11.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.195, allocations: 105.8 kB / 0.7217 GB, free: 11.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.195, allocations: 25.7 kB / 0.7217 GB, free: 11.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.1951, allocations: 84.14 kB / 0.7218 GB, free: 11.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.1951, allocations: 7.938 kB / 0.7218 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.1952, allocations: 13.72 kB / 0.7218 GB, free: 11.69 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1953, allocations: 314.8 kB / 0.7221 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.1954, allocations: 23.97 kB / 0.7222 GB, free: 11.35 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.122e-05/0.1955, allocations: 24.02 kB / 0.7222 GB, free: 11.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.1957, allocations: 56.75 kB / 0.7222 GB, free: 11.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1957, allocations: 7.875 kB / 0.7222 GB, free: 11.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002435/0.196, allocations: 85.66 kB / 0.7223 GB, free: 11.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.196, allocations: 8 kB / 0.7223 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.196, allocations: 0 / 0.7223 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.196, allocations: 0 / 0.7223 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1961, allocations: 11.98 kB / 0.7223 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.1961, allocations: 3.984 kB / 0.7223 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.936e-05/0.1962, allocations: 7.984 kB / 0.7224 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.1962, allocations: 0 / 0.7224 GB, free: 11.14 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 0.0001004/0.1963, allocations: 117.8 kB / 0.7225 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.1963, allocations: 4.031 kB / 0.7225 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.1963, allocations: 3.625 kB / 0.7225 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1963, allocations: 4 kB / 0.7225 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1963, allocations: 0 / 0.7225 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.1964, allocations: 3.984 kB / 0.7225 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.1965, allocations: 136.6 kB / 0.7226 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1965, allocations: 0 / 0.7226 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.524e-05/0.1966, allocations: 11.92 kB / 0.7226 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1966, allocations: 4 kB / 0.7226 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.1966, allocations: 0 / 0.7226 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1966, allocations: 0 / 0.7226 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1966, allocations: 4.25 kB / 0.7226 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.1969, allocations: 175.5 kB / 0.7228 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.1969, allocations: 7.938 kB / 0.7228 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.197, allocations: 8 kB / 0.7228 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.694e-05/0.197, allocations: 4 kB / 0.7228 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.1971, allocations: 11.91 kB / 0.7228 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.1971, allocations: 0 / 0.7228 GB, free: 10.58 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.531e-05/0.1972, allocations: 91.31 kB / 0.7229 GB, free: 10.49 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1972, allocations: 0 / 0.7229 GB, free: 10.49 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002086/0.1974, allocations: 4 kB / 0.7229 GB, free: 10.48 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.0006287/0.198, allocations: 0.7123 MB / 0.7236 GB, free: 9.746 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002468/0.1982, allocations: 55.97 kB / 0.7237 GB, free: 9.691 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1982, allocations: 0 / 0.7237 GB, free: 9.691 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.1983, allocations: 23.98 kB / 0.7237 GB, free: 9.668 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.1986, allocations: 11.91 kB / 0.7237 GB, free: 9.656 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.1991, allocations: 155.1 kB / 0.7238 GB, free: 9.465 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.809e-05/0.1992, allocations: 63.47 kB / 0.7239 GB, free: 9.383 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.17e-05/0.1992, allocations: 7.938 kB / 0.7239 GB, free: 9.375 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.1993, allocations: 11.44 kB / 0.7239 GB, free: 9.363 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.1993, allocations: 0 / 0.7239 GB, free: 9.363 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/0.2308, allocations: 2.062 MB / 0.7259 GB, free: 7.441 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.36, allocations: 5.594 kB / 0.7259 GB, free: 7.441 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized_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_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.287215529941022] Failed to read output from testmodel.py, exit status != 0: 11.465489376801997 11.482575445 11.287240154 Calling exit ...