Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.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.001329/0.001329, 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.001395/0.001395, allocations: 216 kB / 22.25 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.777 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.9238/0.9238, 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.Functions.Examples.RegStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep",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.002346/0.002346, allocations: 62.94 kB / 0.6331 GB, free: 6.672 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1916, allocations: 87.9 MB / 0.719 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.00183/0.1934, allocations: 0.569 MB / 0.7195 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002706/0.1937, allocations: 59.75 kB / 0.7196 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.574e-05/0.1937, allocations: 3.938 kB / 0.7196 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.1938, allocations: 0 / 0.7196 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.761e-06/0.1938, allocations: 0 / 0.7196 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.194, allocations: 11.92 kB / 0.7196 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.144e-05/0.194, allocations: 0 / 0.7196 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.886e-05/0.1941, allocations: 4 kB / 0.7196 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.514e-05/0.1941, allocations: 4 kB / 0.7196 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.243e-05/0.1941, allocations: 3.984 kB / 0.7196 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.366e-06/0.1941, allocations: 0 / 0.7196 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1942, allocations: 27.97 kB / 0.7196 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.1942, allocations: 0 / 0.7196 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.255e-05/0.1942, allocations: 0 / 0.7196 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.144e-05/0.1943, allocations: 11.98 kB / 0.7196 GB, free: 14.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1943, allocations: 0 / 0.7196 GB, free: 14.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1943, allocations: 0 / 0.7196 GB, free: 14.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.1943, allocations: 0 / 0.7196 GB, free: 14.09 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.0002889/0.1946, allocations: 242.4 kB / 0.7199 GB, free: 13.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1947, allocations: 8.031 kB / 0.7199 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.186e-05/0.1947, allocations: 30.75 kB / 0.7199 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002388/0.1949, allocations: 24.91 kB / 0.7199 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.063e-05/0.195, allocations: 106.5 kB / 0.72 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.195, allocations: 384 / 0.72 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.195, allocations: 4.359 kB / 0.72 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.1952, allocations: 42.19 kB / 0.7201 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1952, allocations: 3.938 kB / 0.7201 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.1952, allocations: 4 kB / 0.7201 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1952, allocations: 0 / 0.7201 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.1953, allocations: 11.98 kB / 0.7201 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.1954, allocations: 120.8 kB / 0.7202 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.791e-05/0.1955, allocations: 18.61 kB / 0.7202 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.148e-05/0.1956, allocations: 12.84 kB / 0.7202 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1956, allocations: 4.062 kB / 0.7202 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.1956, allocations: 30.56 kB / 0.7203 GB, free: 13.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1956, allocations: 3.938 kB / 0.7203 GB, free: 13.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0002252/0.1959, allocations: 53.61 kB / 0.7203 GB, free: 13.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.1959, allocations: 51.41 kB / 0.7204 GB, free: 13.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.804e-05/0.1959, allocations: 89.86 kB / 0.7205 GB, free: 13.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.196, allocations: 25.7 kB / 0.7205 GB, free: 13.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.432e-05/0.196, allocations: 80.14 kB / 0.7206 GB, free: 12.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.196, allocations: 0 / 0.7206 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.196, allocations: 17.72 kB / 0.7206 GB, free: 12.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1962, allocations: 310.8 kB / 0.7209 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-05/0.1962, allocations: 15.92 kB / 0.7209 GB, free: 12.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.881e-05/0.1963, allocations: 8.125 kB / 0.7209 GB, free: 12.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.952e-05/0.1964, allocations: 20.78 kB / 0.7209 GB, free: 12.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1964, allocations: 0 / 0.7209 GB, free: 12.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001157/0.1965, allocations: 37.69 kB / 0.721 GB, free: 12.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1965, allocations: 7.984 kB / 0.721 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1965, allocations: 3.938 kB / 0.721 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1965, allocations: 0 / 0.721 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.516e-05/0.1966, allocations: 8.094 kB / 0.721 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1966, allocations: 0 / 0.721 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.75e-05/0.1966, allocations: 8 kB / 0.721 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.1966, allocations: 0 / 0.721 GB, free: 12.52 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.237e-05/0.1967, allocations: 109.8 kB / 0.7211 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-06/0.1967, allocations: 0 / 0.7211 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.702e-05/0.1967, allocations: 14.88 kB / 0.7211 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1967, allocations: 0 / 0.7211 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.1968, allocations: 0 / 0.7211 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.1968, allocations: 0 / 0.7211 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.913e-05/0.1968, allocations: 120.8 kB / 0.7212 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.1968, allocations: 0 / 0.7212 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.432e-05/0.1969, allocations: 11.92 kB / 0.7212 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1969, allocations: 0 / 0.7212 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1969, allocations: 3.938 kB / 0.7212 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.1969, allocations: 0 / 0.7212 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1969, allocations: 4 kB / 0.7212 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.197, allocations: 65.11 kB / 0.7213 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-06/0.1971, allocations: 4 kB / 0.7213 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.1971, allocations: 7.969 kB / 0.7213 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.891e-05/0.1971, allocations: 0 / 0.7213 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.1971, allocations: 0 / 0.7213 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.1971, allocations: 4 kB / 0.7213 GB, free: 12.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.35e-05/0.1971, allocations: 75.28 kB / 0.7214 GB, free: 12.03 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1971, allocations: 0 / 0.7214 GB, free: 12.03 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001719/0.1973, allocations: 0 / 0.7214 GB, free: 12.03 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.0004566/0.1978, allocations: 0.6085 MB / 0.722 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.1979, allocations: 15.98 kB / 0.722 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1979, allocations: 0 / 0.722 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/0.1979, allocations: 11.98 kB / 0.722 GB, free: 11.36 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.1981, allocations: 0 / 0.722 GB, free: 11.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.1984, allocations: 118.5 kB / 0.7221 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.614e-05/0.1985, allocations: 55.36 kB / 0.7222 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.195e-05/0.1985, allocations: 8.109 kB / 0.7222 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.1985, allocations: 11.44 kB / 0.7222 GB, free: 11.11 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.1985, allocations: 0 / 0.7222 GB, free: 11.11 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.2262, allocations: 1.461 MB / 0.7236 GB, free: 9.785 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.34, allocations: 2.438 kB / 0.7236 GB, free: 9.785 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.068750756327063] Failed to read output from testmodel.py, exit status != 0: 11.44079225929454 11.468145305 11.268490253 Calling exit ...