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.001353/0.001353, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001622/0.001622, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.961 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.9264/0.9264, allocations: 145 MB / 457.4 MB, free: 15.52 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.002074/0.002074, allocations: 66.5 kB / 0.6332 GB, free: 7.305 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1868, allocations: 87.88 MB / 0.719 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.00288/0.1896, allocations: 1.47 MB / 0.7204 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008038/0.1905, allocations: 387.5 kB / 0.7208 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/0.1905, allocations: 0 / 0.7208 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.1905, allocations: 0 / 0.7208 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.187e-05/0.1906, allocations: 3.938 kB / 0.7208 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000458/0.191, allocations: 115.7 kB / 0.7209 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.369e-05/0.1911, allocations: 31.92 kB / 0.7209 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1912, allocations: 7.984 kB / 0.721 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.186e-05/0.1913, allocations: 11.94 kB / 0.721 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.653e-05/0.1913, allocations: 11.92 kB / 0.721 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.1913, allocations: 4 kB / 0.721 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004356/0.1918, allocations: 275.7 kB / 0.7212 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.1918, allocations: 3.984 kB / 0.7212 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.1918, allocations: 15.92 kB / 0.7213 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.192, allocations: 111.6 kB / 0.7214 GB, free: 12.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.192, allocations: 0 / 0.7214 GB, free: 12.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.004e-06/0.192, allocations: 0 / 0.7214 GB, free: 12.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.192, allocations: 4 kB / 0.7214 GB, free: 12.98 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.0004791/0.1925, allocations: 286.1 kB / 0.7216 GB, free: 12.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1926, allocations: 12.03 kB / 0.7217 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.846e-05/0.1926, allocations: 30.75 kB / 0.7217 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.1926, allocations: 4.938 kB / 0.7217 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.1928, allocations: 114.4 kB / 0.7218 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1928, allocations: 384 / 0.7218 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.1928, allocations: 4.375 kB / 0.7218 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.1929, allocations: 54.23 kB / 0.7219 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.193, allocations: 3.938 kB / 0.7219 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.193, allocations: 0 / 0.7219 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.193, allocations: 3.938 kB / 0.7219 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.1931, allocations: 43.89 kB / 0.7219 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.1935, allocations: 220 kB / 0.7221 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.1936, allocations: 42.5 kB / 0.7222 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.543e-05/0.1937, allocations: 28.84 kB / 0.7222 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005365/0.1942, allocations: 75.91 kB / 0.7223 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1942, allocations: 34.56 kB / 0.7223 GB, free: 11.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1942, allocations: 0 / 0.7223 GB, free: 11.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003652/0.1946, allocations: 81.58 kB / 0.7224 GB, free: 11.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.1947, allocations: 63.53 kB / 0.7224 GB, free: 11.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.363e-05/0.1947, allocations: 97.86 kB / 0.7225 GB, free: 11.64 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1948, allocations: 29.7 kB / 0.7225 GB, free: 11.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.1948, allocations: 84.12 kB / 0.7226 GB, free: 11.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.1948, allocations: 3.953 kB / 0.7226 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.1949, allocations: 17.72 kB / 0.7226 GB, free: 11.49 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.195, allocations: 310.8 kB / 0.7229 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.643e-05/0.1951, allocations: 23.97 kB / 0.723 GB, free: 11.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.112e-05/0.1952, allocations: 15.98 kB / 0.723 GB, free: 11.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.1953, allocations: 44.77 kB / 0.723 GB, free: 11.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1953, allocations: 3.938 kB / 0.723 GB, free: 11.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002054/0.1955, allocations: 73.67 kB / 0.7231 GB, free: 11.01 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1955, allocations: 4 kB / 0.7231 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1955, allocations: 0 / 0.7231 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1956, allocations: 0 / 0.7231 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.321e-05/0.1956, allocations: 11.98 kB / 0.7231 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1956, allocations: 0 / 0.7231 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.329e-05/0.1957, allocations: 4 kB / 0.7231 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.1957, allocations: 0 / 0.7231 GB, free: 10.99 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 8.784e-05/0.1958, allocations: 121.8 kB / 0.7232 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.1958, allocations: 4.031 kB / 0.7232 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.1961, allocations: 73.22 kB / 0.7233 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1961, allocations: 0 / 0.7233 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1961, allocations: 0 / 0.7233 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1961, allocations: 0 / 0.7233 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.1962, allocations: 144.9 kB / 0.7234 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1962, allocations: 0 / 0.7234 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.603e-05/0.1963, allocations: 8 kB / 0.7235 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.1963, allocations: 8.016 kB / 0.7235 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.1963, allocations: 4 kB / 0.7235 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1963, allocations: 0 / 0.7235 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1963, allocations: 0 / 0.7235 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.1966, allocations: 171.3 kB / 0.7236 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.1966, allocations: 3.984 kB / 0.7236 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.1966, allocations: 8.031 kB / 0.7236 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.948e-05/0.1967, allocations: 0 / 0.7236 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.1967, allocations: 7.984 kB / 0.7236 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.1967, allocations: 3.938 kB / 0.7237 GB, free: 10.37 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.956e-05/0.1967, allocations: 83.28 kB / 0.7237 GB, free: 10.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1967, allocations: 0 / 0.7237 GB, free: 10.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002329/0.197, allocations: 15.94 kB / 0.7237 GB, free: 10.27 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.0006319/0.1976, allocations: 0.7085 MB / 0.7244 GB, free: 9.535 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.1978, allocations: 43.89 kB / 0.7245 GB, free: 9.492 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1978, allocations: 0 / 0.7245 GB, free: 9.492 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.398e-05/0.1979, allocations: 24.08 kB / 0.7245 GB, free: 9.469 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.1982, allocations: 0 / 0.7245 GB, free: 9.469 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004188/0.1986, allocations: 147.1 kB / 0.7246 GB, free: 9.285 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.1989, allocations: 0.6768 MB / 0.7253 GB, free: 8.582 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.946e-05/0.199, allocations: 0 / 0.7253 GB, free: 8.582 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.199, allocations: 15.42 kB / 0.7253 GB, free: 8.57 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.199, allocations: 4.062 kB / 0.7253 GB, free: 8.566 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.2273, allocations: 1.72 MB / 0.727 GB, free: 6.984 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.18, allocations: 7.922 kB / 0.727 GB, free: 6.977 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.878603673074394] Failed to read output from testmodel.py, exit status != 0: 11.285004685865715 11.315004078 11.117685918 Calling exit ...