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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 196.4 kB / 16.14 MB, free: 6.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.9503/0.9503, allocations: 143 MB / 433 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 59.91 kB / 0.5136 GB, free: 12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1514, allocations: 82.04 MB / 0.5937 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001569/0.153, allocations: 0.6389 MB / 0.5944 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002325/0.1532, allocations: 55.78 kB / 0.5944 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.585e-06/0.1532, allocations: 0 / 0.5944 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.101e-05/0.1532, allocations: 0 / 0.5944 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.218e-06/0.1533, allocations: 0 / 0.5944 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.1534, allocations: 8 kB / 0.5944 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 2.912e-05/0.1535, allocations: 11.92 kB / 0.5944 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.121e-05/0.1535, allocations: 4 kB / 0.5944 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.002e-05/0.1535, allocations: 0 / 0.5944 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.349e-05/0.1535, allocations: 0 / 0.5944 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.625e-06/0.1535, allocations: 0 / 0.5944 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.509e-05/0.1536, allocations: 19.98 kB / 0.5945 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.384e-06/0.1536, allocations: 0 / 0.5945 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.37e-05/0.1536, allocations: 3.984 kB / 0.5945 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.856e-05/0.1537, allocations: 23.97 kB / 0.5945 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1537, allocations: 4 kB / 0.5945 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.82e-07/0.1537, allocations: 0 / 0.5945 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.575e-06/0.1537, allocations: 0 / 0.5945 GB, free: 9.152 MB / 0.4981 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.0002238/0.154, allocations: 307.6 kB / 0.5948 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.154, allocations: 8.031 kB / 0.5948 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.146e-05/0.154, allocations: 30.75 kB / 0.5948 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.1543, allocations: 24.83 kB / 0.5948 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.001e-05/0.1544, allocations: 172.3 kB / 0.595 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.1544, allocations: 4.375 kB / 0.595 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-06/0.1544, allocations: 384 / 0.595 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.1545, allocations: 38.25 kB / 0.5951 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1545, allocations: 7.875 kB / 0.5951 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-06/0.1545, allocations: 0 / 0.5951 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-06/0.1545, allocations: 0 / 0.5951 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.233e-05/0.1546, allocations: 7.984 kB / 0.5951 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001132/0.1547, allocations: 149.7 kB / 0.5952 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.754e-05/0.1548, allocations: 26.53 kB / 0.5952 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.833e-05/0.1549, allocations: 16.92 kB / 0.5953 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.1549, allocations: 0 / 0.5953 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.1549, allocations: 34.55 kB / 0.5953 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.1549, allocations: 0 / 0.5953 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001963/0.1551, allocations: 49.62 kB / 0.5953 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.1552, allocations: 51.41 kB / 0.5954 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.061e-05/0.1552, allocations: 89.86 kB / 0.5955 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.1552, allocations: 25.7 kB / 0.5955 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.232e-05/0.1552, allocations: 80.14 kB / 0.5956 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.1553, allocations: 11.83 kB / 0.5956 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.1553, allocations: 17.72 kB / 0.5956 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.1554, allocations: 315 kB / 0.5959 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.283e-05/0.1554, allocations: 4 kB / 0.5959 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.622e-05/0.1555, allocations: 7.984 kB / 0.5959 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.73e-05/0.1556, allocations: 12.84 kB / 0.5959 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1556, allocations: 0 / 0.5959 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001136/0.1557, allocations: 45.75 kB / 0.596 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.1557, allocations: 8.031 kB / 0.596 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1557, allocations: 3.938 kB / 0.596 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/0.1557, allocations: 0 / 0.596 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.266e-05/0.1558, allocations: 7.984 kB / 0.596 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1558, allocations: 7.922 kB / 0.596 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.062e-05/0.1559, allocations: 0 / 0.596 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.1559, allocations: 4 kB / 0.596 GB, free: 7.379 MB / 0.4981 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 5.857e-05/0.1559, allocations: 105.8 kB / 0.5961 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-06/0.1559, allocations: 4 kB / 0.5961 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.156, allocations: 7.062 kB / 0.5961 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.156, allocations: 3.984 kB / 0.5961 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.156, allocations: 0 / 0.5961 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.156, allocations: 4 kB / 0.5961 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.81e-05/0.1561, allocations: 145.6 kB / 0.5963 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1561, allocations: 3.938 kB / 0.5963 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.1561, allocations: 7.984 kB / 0.5963 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1561, allocations: 0 / 0.5963 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1561, allocations: 7.938 kB / 0.5963 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1562, allocations: 4 kB / 0.5963 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1562, allocations: 0 / 0.5963 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.1563, allocations: 65.12 kB / 0.5963 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.1563, allocations: 81.38 kB / 0.5964 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.1563, allocations: 7.875 kB / 0.5964 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.912e-05/0.1564, allocations: 0 / 0.5964 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.645e-06/0.1564, allocations: 4.031 kB / 0.5964 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1564, allocations: 4 kB / 0.5964 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.232e-05/0.1564, allocations: 75.28 kB / 0.5965 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1564, allocations: 0 / 0.5965 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001648/0.1566, allocations: 0 / 0.5965 GB, free: 6.766 MB / 0.4981 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.0003609/0.157, allocations: 0.6046 MB / 0.5971 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.1571, allocations: 19.92 kB / 0.5971 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.1571, allocations: 0 / 0.5971 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.949e-05/0.1571, allocations: 7.984 kB / 0.5971 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/0.1573, allocations: 3.938 kB / 0.5971 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.1576, allocations: 116.5 kB / 0.5972 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.1578, allocations: 0.6692 MB / 0.5979 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.576e-05/0.1578, allocations: 3.984 kB / 0.5979 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.1578, allocations: 15.38 kB / 0.5979 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1578, allocations: 0 / 0.5979 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009666/0.1675, allocations: 0.8181 MB / 0.5987 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/0.1677, allocations: 208.8 kB / 0.5989 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/1.813, allocations: 7.938 kB / 0.5989 GB, free: 4.254 MB / 0.4981 GB (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 --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)