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.001242/0.001242, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001467/0.001467, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.477/1.477, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.9101/0.9101, allocations: 144.9 MB / 454.5 MB, free: 10.4 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="cs",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.002039/0.002039, allocations: 70.06 kB / 0.6288 GB, free: 33.53 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1568, allocations: 87.83 MB / 0.7145 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001649/0.1584, allocations: 0.5849 MB / 0.7151 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002518/0.1587, allocations: 55.78 kB / 0.7152 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.46e-05/0.1587, allocations: 0 / 0.7152 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.074e-05/0.1587, allocations: 0 / 0.7152 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.801e-06/0.1587, allocations: 0 / 0.7152 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.1589, allocations: 7.938 kB / 0.7152 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.325e-05/0.1589, allocations: 7.984 kB / 0.7152 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.159, allocations: 0 / 0.7152 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.027e-05/0.159, allocations: 0 / 0.7152 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.404e-05/0.159, allocations: 7.922 kB / 0.7152 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.159, allocations: 8 kB / 0.7152 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.1591, allocations: 19.98 kB / 0.7152 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.1591, allocations: 0 / 0.7152 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.513e-05/0.1592, allocations: 0 / 0.7152 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.01e-05/0.1592, allocations: 16.25 kB / 0.7152 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1592, allocations: 0 / 0.7152 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1593, allocations: 0 / 0.7152 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.1593, allocations: 0 / 0.7152 GB, free: 10.97 MB / 0.5294 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.0003319/0.1596, allocations: 315.5 kB / 0.7155 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.1596, allocations: 8.031 kB / 0.7155 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.137e-05/0.1596, allocations: 8.188 kB / 0.7155 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.479e-05/0.1597, allocations: 30.75 kB / 0.7156 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002542/0.1599, allocations: 20.89 kB / 0.7156 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.16, allocations: 160.4 kB / 0.7157 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-06/0.16, allocations: 384 / 0.7157 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.16, allocations: 4.312 kB / 0.7157 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1602, allocations: 42 kB / 0.7158 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1602, allocations: 4 kB / 0.7158 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1602, allocations: 4 kB / 0.7158 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1602, allocations: 0 / 0.7158 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.666e-05/0.1603, allocations: 7.984 kB / 0.7158 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.1604, allocations: 141.7 kB / 0.7159 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.957e-05/0.1605, allocations: 23 kB / 0.716 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.863e-05/0.1606, allocations: 24.78 kB / 0.716 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.1606, allocations: 0 / 0.716 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.1606, allocations: 38.5 kB / 0.716 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 2.495e-06/0.1606, allocations: 7.984 kB / 0.716 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002383/0.1609, allocations: 37.69 kB / 0.7161 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.1609, allocations: 51.41 kB / 0.7161 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.42e-05/0.161, allocations: 102 kB / 0.7162 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.161, allocations: 29.64 kB / 0.7162 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.161, allocations: 80.14 kB / 0.7163 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.161, allocations: 0 / 0.7163 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.1611, allocations: 13.72 kB / 0.7163 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.1612, allocations: 314.8 kB / 0.7166 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-05/0.1613, allocations: 11.92 kB / 0.7166 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.17e-05/0.1613, allocations: 8 kB / 0.7166 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.204e-05/0.1614, allocations: 16.84 kB / 0.7167 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1614, allocations: 0 / 0.7167 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001315/0.1615, allocations: 37.69 kB / 0.7167 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1615, allocations: 7.938 kB / 0.7167 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.1615, allocations: 4 kB / 0.7167 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1616, allocations: 0 / 0.7167 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.677e-05/0.1616, allocations: 12.08 kB / 0.7167 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.1616, allocations: 4 kB / 0.7167 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.1617, allocations: 0 / 0.7167 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.1617, allocations: 0 / 0.7167 GB, free: 9.195 MB / 0.5294 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 7.877e-05/0.1617, allocations: 113.8 kB / 0.7168 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.1618, allocations: 7.938 kB / 0.7168 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.1618, allocations: 7.109 kB / 0.7168 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1618, allocations: 0 / 0.7168 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1618, allocations: 4 kB / 0.7168 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.1618, allocations: 0 / 0.7168 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.1619, allocations: 145.7 kB / 0.717 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1619, allocations: 0 / 0.717 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.447e-05/0.1619, allocations: 7.984 kB / 0.717 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1619, allocations: 3.938 kB / 0.717 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.162, allocations: 0 / 0.717 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.162, allocations: 0 / 0.717 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.162, allocations: 7.938 kB / 0.717 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.1621, allocations: 65.12 kB / 0.7171 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.1621, allocations: 81.09 kB / 0.7171 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.1622, allocations: 3.938 kB / 0.7171 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.056e-05/0.1622, allocations: 4 kB / 0.7171 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.1622, allocations: 0 / 0.7171 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.1622, allocations: 3.938 kB / 0.7172 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.096e-05/0.1622, allocations: 75.28 kB / 0.7172 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1622, allocations: 32 / 0.7172 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001691/0.1624, allocations: 8 kB / 0.7172 GB, free: 8.57 MB / 0.5294 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.0004663/0.1629, allocations: 0.6046 MB / 0.7178 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.163, allocations: 19.95 kB / 0.7178 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.163, allocations: 4 kB / 0.7178 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.775e-05/0.1631, allocations: 11.92 kB / 0.7179 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.1632, allocations: 1.719 kB / 0.7179 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.1635, allocations: 110.6 kB / 0.718 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.1638, allocations: 0.6729 MB / 0.7186 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.86e-05/0.1639, allocations: 4.125 kB / 0.7186 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.1639, allocations: 7.438 kB / 0.7186 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1639, allocations: 0 / 0.7186 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01631/0.1802, allocations: 1.003 MB / 0.7196 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/8.381, allocations: 8.062 kB / 0.7196 GB, free: 6.148 MB / 0.5294 GB " [Timeout remaining time 651] (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: 12.20048915402731] Failed to read output from testmodel.py, exit status != 0: 8.508171562978532 8.535315825 8.37140701 Calling exit ...