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.001776/0.001776, 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.002281/0.002281, 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.969 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.923/0.923, 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.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.002795/0.002795, allocations: 66.27 kB / 0.6332 GB, free: 7.277 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1718, allocations: 87.89 MB / 0.719 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001778/0.1736, allocations: 0.5767 MB / 0.7196 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002904/0.1739, allocations: 59.72 kB / 0.7197 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.863e-05/0.1739, allocations: 3.938 kB / 0.7197 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.174, allocations: 4 kB / 0.7197 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.792e-06/0.174, allocations: 0 / 0.7197 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.1742, allocations: 19.92 kB / 0.7197 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.575e-05/0.1743, allocations: 0 / 0.7197 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.318e-05/0.1743, allocations: 0 / 0.7197 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.354e-05/0.1743, allocations: 4 kB / 0.7197 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.437e-05/0.1743, allocations: 0 / 0.7197 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.1744, allocations: 0 / 0.7197 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.1745, allocations: 23.97 kB / 0.7197 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.1745, allocations: 0 / 0.7197 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.817e-05/0.1745, allocations: 0 / 0.7197 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.707e-05/0.1746, allocations: 15.97 kB / 0.7197 GB, free: 14.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1746, allocations: 4 kB / 0.7197 GB, free: 14.69 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1746, allocations: 4 kB / 0.7197 GB, free: 14.69 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.1746, allocations: 0 / 0.7197 GB, free: 14.69 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.0003312/0.1749, allocations: 242.4 kB / 0.72 GB, free: 14.42 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.175, allocations: 8.031 kB / 0.72 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.348e-05/0.175, allocations: 30.75 kB / 0.72 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.1753, allocations: 16.91 kB / 0.72 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.949e-05/0.1754, allocations: 110.5 kB / 0.7201 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.1754, allocations: 8.312 kB / 0.7201 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.1754, allocations: 384 / 0.7201 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.1755, allocations: 34.25 kB / 0.7202 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.1756, allocations: 3.938 kB / 0.7202 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.1756, allocations: 0 / 0.7202 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1756, allocations: 0 / 0.7202 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.627e-05/0.1757, allocations: 11.98 kB / 0.7202 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.1758, allocations: 120.8 kB / 0.7203 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.856e-05/0.1759, allocations: 26.53 kB / 0.7203 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.183e-05/0.176, allocations: 8.922 kB / 0.7203 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.176, allocations: 0 / 0.7203 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.176, allocations: 30.56 kB / 0.7204 GB, free: 13.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.176, allocations: 0 / 0.7204 GB, free: 13.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0002703/0.1763, allocations: 57.61 kB / 0.7204 GB, free: 13.85 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.1763, allocations: 51.41 kB / 0.7205 GB, free: 13.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.203e-05/0.1764, allocations: 89.86 kB / 0.7205 GB, free: 13.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.1764, allocations: 25.7 kB / 0.7206 GB, free: 13.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.1764, allocations: 80.14 kB / 0.7206 GB, free: 13.58 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.1765, allocations: 4 kB / 0.7207 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.1765, allocations: 13.7 kB / 0.7207 GB, free: 13.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1766, allocations: 322.9 kB / 0.721 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.864e-05/0.1767, allocations: 11.94 kB / 0.721 GB, free: 13.22 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.994e-05/0.1767, allocations: 7.984 kB / 0.721 GB, free: 13.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.798e-05/0.1768, allocations: 16.84 kB / 0.721 GB, free: 13.19 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1768, allocations: 0 / 0.721 GB, free: 13.19 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001263/0.177, allocations: 41.75 kB / 0.721 GB, free: 13.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.177, allocations: 4 kB / 0.7211 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.177, allocations: 3.938 kB / 0.7211 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.177, allocations: 0 / 0.7211 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.925e-05/0.1771, allocations: 7.984 kB / 0.7211 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1771, allocations: 0 / 0.7211 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.609e-05/0.1771, allocations: 11.88 kB / 0.7211 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1771, allocations: 0 / 0.7211 GB, free: 13.12 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.966e-05/0.1772, allocations: 105.8 kB / 0.7212 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.1772, allocations: 12.02 kB / 0.7212 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.173e-05/0.1773, allocations: 6.938 kB / 0.7212 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1773, allocations: 4 kB / 0.7212 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1773, allocations: 0 / 0.7212 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.1773, allocations: 3.984 kB / 0.7212 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.1774, allocations: 112.8 kB / 0.7213 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1774, allocations: 0 / 0.7213 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.1775, allocations: 4 kB / 0.7213 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.1775, allocations: 3.984 kB / 0.7213 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1775, allocations: 7.938 kB / 0.7213 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1775, allocations: 0 / 0.7213 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1775, allocations: 0 / 0.7213 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.1777, allocations: 65.12 kB / 0.7214 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-06/0.1777, allocations: 0 / 0.7214 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.1777, allocations: 3.938 kB / 0.7214 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.409e-05/0.1777, allocations: 7.984 kB / 0.7214 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.1777, allocations: 7.969 kB / 0.7214 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.1777, allocations: 0 / 0.7214 GB, free: 12.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.127e-05/0.1778, allocations: 75.28 kB / 0.7215 GB, free: 12.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1778, allocations: 0 / 0.7215 GB, free: 12.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001856/0.178, allocations: 4 kB / 0.7215 GB, free: 12.62 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.000595/0.1786, allocations: 0.6007 MB / 0.7221 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001531/0.1787, allocations: 11.98 kB / 0.7221 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1787, allocations: 3.938 kB / 0.7221 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.451e-05/0.1788, allocations: 8 kB / 0.7221 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.1789, allocations: 0 / 0.7221 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.1793, allocations: 121.2 kB / 0.7222 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.1797, allocations: 0.6729 MB / 0.7229 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.911e-05/0.1797, allocations: 0 / 0.7229 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.1797, allocations: 7.438 kB / 0.7229 GB, free: 11.11 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.1797, allocations: 0 / 0.7229 GB, free: 11.11 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.2077, allocations: 1.056 MB / 0.7239 GB, free: 10.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.35, allocations: 4 kB / 0.7239 GB, free: 10.18 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.01241299812682] Failed to read output from testmodel.py, exit status != 0: 11.457446133950725 11.486833588 11.306675746 Calling exit ...