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.00136/0.00136, 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.001782/0.001782, allocations: 212 kB / 22.24 MB, free: 4.855 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.988 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.9229/0.9229, allocations: 145 MB / 457.4 MB, free: 15.27 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.002101/0.002101, allocations: 70.39 kB / 0.6331 GB, free: 6.703 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1881, allocations: 87.89 MB / 0.7189 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002829/0.1909, allocations: 1.459 MB / 0.7203 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000297/0.1912, allocations: 88.66 kB / 0.7204 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.1913, allocations: 4 kB / 0.7204 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.1913, allocations: 3.938 kB / 0.7204 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.792e-05/0.1913, allocations: 3.938 kB / 0.7204 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.1915, allocations: 11.98 kB / 0.7205 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.386e-05/0.1916, allocations: 31.86 kB / 0.7205 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.747e-05/0.1916, allocations: 4 kB / 0.7205 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.219e-05/0.1917, allocations: 11.98 kB / 0.7205 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.622e-05/0.1917, allocations: 11.92 kB / 0.7205 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.1917, allocations: 4 kB / 0.7205 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.679e-05/0.1918, allocations: 15.98 kB / 0.7205 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.1918, allocations: 4 kB / 0.7205 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.1918, allocations: 11.92 kB / 0.7205 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.192, allocations: 31.84 kB / 0.7206 GB, free: 13.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.192, allocations: 0 / 0.7206 GB, free: 13.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.192, allocations: 0 / 0.7206 GB, free: 13.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.192, allocations: 0 / 0.7206 GB, free: 13.12 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.0004723/0.1924, allocations: 270.3 kB / 0.7208 GB, free: 12.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1925, allocations: 8.031 kB / 0.7208 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.1925, allocations: 46.67 kB / 0.7209 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.1927, allocations: 8.922 kB / 0.7209 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.1928, allocations: 118.5 kB / 0.721 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.1928, allocations: 384 / 0.721 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.1928, allocations: 4.375 kB / 0.721 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.193, allocations: 58.22 kB / 0.7211 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.193, allocations: 7.938 kB / 0.7211 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1931, allocations: 0 / 0.7211 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1931, allocations: 0 / 0.7211 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.1933, allocations: 47.95 kB / 0.7211 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.1937, allocations: 231.8 kB / 0.7213 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.1938, allocations: 54.52 kB / 0.7214 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1939, allocations: 32.91 kB / 0.7214 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.194, allocations: 0 / 0.7214 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.194, allocations: 34.56 kB / 0.7215 GB, free: 12.08 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.194, allocations: 0 / 0.7215 GB, free: 12.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004131/0.1944, allocations: 105.5 kB / 0.7216 GB, free: 11.97 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.1944, allocations: 55.53 kB / 0.7216 GB, free: 11.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.961e-05/0.1945, allocations: 101.9 kB / 0.7217 GB, free: 11.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1946, allocations: 29.7 kB / 0.7217 GB, free: 11.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/0.1946, allocations: 88.12 kB / 0.7218 GB, free: 11.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.1947, allocations: 3.953 kB / 0.7218 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.1947, allocations: 13.72 kB / 0.7218 GB, free: 11.65 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1948, allocations: 314.8 kB / 0.7221 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.1949, allocations: 23.97 kB / 0.7222 GB, free: 11.31 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.417e-05/0.195, allocations: 27.97 kB / 0.7222 GB, free: 11.28 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.1952, allocations: 52.81 kB / 0.7222 GB, free: 11.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1952, allocations: 3.938 kB / 0.7222 GB, free: 11.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002503/0.1955, allocations: 85.53 kB / 0.7223 GB, free: 11.13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1955, allocations: 4 kB / 0.7223 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.748e-06/0.1955, allocations: 4.094 kB / 0.7223 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1955, allocations: 0 / 0.7223 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1956, allocations: 11.98 kB / 0.7223 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1956, allocations: 0 / 0.7223 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.477e-05/0.1957, allocations: 11.98 kB / 0.7224 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.1957, allocations: 4 kB / 0.7224 GB, free: 11.1 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.672e-05/0.1958, allocations: 109.8 kB / 0.7225 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.1958, allocations: 4 kB / 0.7225 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.1959, allocations: 7.609 kB / 0.7225 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1959, allocations: 4 kB / 0.7225 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1959, allocations: 0 / 0.7225 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1959, allocations: 0 / 0.7225 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.196, allocations: 140.9 kB / 0.7226 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.196, allocations: 4 kB / 0.7226 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.281e-05/0.1961, allocations: 11.98 kB / 0.7226 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1961, allocations: 0 / 0.7226 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.1961, allocations: 3.938 kB / 0.7226 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1961, allocations: 0 / 0.7226 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1961, allocations: 3.938 kB / 0.7226 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.1964, allocations: 179.4 kB / 0.7228 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-06/0.1964, allocations: 7.953 kB / 0.7228 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.1964, allocations: 0 / 0.7228 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.14e-05/0.1965, allocations: 15.92 kB / 0.7228 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.1966, allocations: 4 kB / 0.7228 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.1966, allocations: 0 / 0.7228 GB, free: 10.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.646e-05/0.1966, allocations: 83.27 kB / 0.7229 GB, free: 10.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1966, allocations: 32 / 0.7229 GB, free: 10.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002088/0.1968, allocations: 12 kB / 0.7229 GB, free: 10.45 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.0006539/0.1975, allocations: 0.7084 MB / 0.7236 GB, free: 9.711 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002471/0.1977, allocations: 47.95 kB / 0.7237 GB, free: 9.664 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1977, allocations: 8.094 kB / 0.7237 GB, free: 9.656 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1978, allocations: 23.97 kB / 0.7237 GB, free: 9.633 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.1981, allocations: 6.188 kB / 0.7237 GB, free: 9.629 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005251/0.1987, allocations: 159.1 kB / 0.7239 GB, free: 9.434 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.704e-05/0.1987, allocations: 63.34 kB / 0.7239 GB, free: 9.352 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.119e-05/0.1988, allocations: 4.062 kB / 0.7239 GB, free: 9.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.1988, allocations: 11.44 kB / 0.7239 GB, free: 9.336 MB / 0.545 GB Notification: Performance of SimCode: time 3.6e-07/0.1988, allocations: 0 / 0.7239 GB, free: 9.336 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.2277, allocations: 2.059 MB / 0.7259 GB, free: 7.41 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.22, allocations: 5.016 kB / 0.7259 GB, free: 7.41 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 14.905621122103184] Failed to read output from testmodel.py, exit status != 0: 11.325997380074114 11.356699888 11.159290027 Calling exit ...