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.0009308/0.0009309, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006128/0.006128, allocations: 169.6 kB / 16.26 MB, free: 6.676 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: 223.3 MB / 240.3 MB, free: 5.348 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 1.008/1.008, allocations: 143.2 MB / 434.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003023, allocations: 8 kB / 0.5165 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1774, allocations: 83.42 MB / 0.598 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.0007275/0.1782, allocations: 311.1 kB / 0.5983 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003093/0.1785, allocations: 51.86 kB / 0.5983 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.299e-05/0.1785, allocations: 0 / 0.5983 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.359e-05/0.1785, allocations: 0 / 0.5983 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.177e-06/0.1785, allocations: 0 / 0.5983 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.1788, allocations: 19.92 kB / 0.5984 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.642e-05/0.1788, allocations: 0 / 0.5984 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.1788, allocations: 0 / 0.5984 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.744e-05/0.1789, allocations: 7.984 kB / 0.5984 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.727e-05/0.1789, allocations: 0 / 0.5984 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.1789, allocations: 3.938 kB / 0.5984 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.085e-05/0.179, allocations: 19.97 kB / 0.5984 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.179, allocations: 4 kB / 0.5984 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.1791, allocations: 25.7 kB / 0.5984 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.536e-05/0.1791, allocations: 15.98 kB / 0.5984 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1792, allocations: 4 kB / 0.5984 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1792, allocations: 0 / 0.5984 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.1792, allocations: 0 / 0.5984 GB, free: 7.094 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.0002596/0.1794, allocations: 307.6 kB / 0.5987 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1795, allocations: 8.094 kB / 0.5987 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.1795, allocations: 34.73 kB / 0.5988 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.1798, allocations: 20.91 kB / 0.5988 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.753e-05/0.1799, allocations: 160.4 kB / 0.5989 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.1799, allocations: 4.375 kB / 0.5989 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.1799, allocations: 384 / 0.5989 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.18, allocations: 42.19 kB / 0.599 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1801, allocations: 3.938 kB / 0.599 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.1801, allocations: 0 / 0.599 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1801, allocations: 3.984 kB / 0.599 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.527e-05/0.1802, allocations: 11.98 kB / 0.599 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.1803, allocations: 149.7 kB / 0.5991 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.149e-05/0.1804, allocations: 18.61 kB / 0.5992 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.295e-05/0.1805, allocations: 16.91 kB / 0.5992 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.1805, allocations: 3.938 kB / 0.5992 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.1805, allocations: 30.56 kB / 0.5992 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.675e-06/0.1805, allocations: 3.938 kB / 0.5992 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002266/0.1808, allocations: 53.56 kB / 0.5993 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.1808, allocations: 59.39 kB / 0.5993 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.359e-05/0.1809, allocations: 89.86 kB / 0.5994 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.1809, allocations: 25.7 kB / 0.5994 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.918e-05/0.1809, allocations: 88.12 kB / 0.5995 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.181, allocations: 3.906 kB / 0.5995 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.181, allocations: 13.72 kB / 0.5995 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1811, allocations: 315 kB / 0.5998 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.1812, allocations: 4 kB / 0.5998 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.759e-05/0.1812, allocations: 7.984 kB / 0.5998 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.1813, allocations: 16.78 kB / 0.5999 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1813, allocations: 0 / 0.5999 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000119/0.1814, allocations: 45.75 kB / 0.5999 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1815, allocations: 4 kB / 0.5999 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.1815, allocations: 3.938 kB / 0.5999 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1815, allocations: 0 / 0.5999 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.819e-05/0.1816, allocations: 7.984 kB / 0.5999 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.1816, allocations: 0 / 0.5999 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/0.1816, allocations: 0 / 0.5999 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1816, allocations: 0 / 0.5999 GB, free: 5.332 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 6.624e-05/0.1817, allocations: 113.8 kB / 0.6 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-06/0.1817, allocations: 4.031 kB / 0.6 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.1817, allocations: 7.062 kB / 0.6 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1818, allocations: 3.984 kB / 0.6 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1818, allocations: 0 / 0.6 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-06/0.1818, allocations: 0 / 0.6 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.966e-05/0.1819, allocations: 145.7 kB / 0.6002 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1819, allocations: 0 / 0.6002 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.068e-05/0.1819, allocations: 7.922 kB / 0.6002 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1819, allocations: 8 kB / 0.6002 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1819, allocations: 3.938 kB / 0.6002 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.182, allocations: 4 kB / 0.6002 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.182, allocations: 0 / 0.6002 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.1821, allocations: 61.12 kB / 0.6003 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.1822, allocations: 81.39 kB / 0.6003 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.1822, allocations: 7.922 kB / 0.6003 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.854e-05/0.1822, allocations: 3.938 kB / 0.6004 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.007e-05/0.1822, allocations: 4.031 kB / 0.6004 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.1822, allocations: 4 kB / 0.6004 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.87e-05/0.1823, allocations: 79.22 kB / 0.6004 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1823, allocations: 0 / 0.6004 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001676/0.1824, allocations: 0 / 0.6004 GB, free: 4.711 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.0004733/0.1829, allocations: 0.6085 MB / 0.601 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001299/0.1831, allocations: 15.98 kB / 0.601 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1831, allocations: 0 / 0.601 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.294e-05/0.1831, allocations: 7.984 kB / 0.6011 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.1833, allocations: 3.938 kB / 0.6011 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.1836, allocations: 112.5 kB / 0.6012 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.1839, allocations: 0.6731 MB / 0.6018 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.347e-05/0.1839, allocations: 0 / 0.6018 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.1839, allocations: 7.438 kB / 0.6018 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.1839, allocations: 0 / 0.6018 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01005/0.194, allocations: 0.78 MB / 0.6026 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/0.1942, allocations: 202.3 kB / 0.6028 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/1.8, allocations: 0 / 0.6028 GB, free: 2.293 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)