Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_8_Buildings_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.001097/0.001097, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 191.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.581/1.581, allocations: 292.3 MB / 0.5489 GB, free: 13.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 71.11 kB / 0.6716 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1771, allocations: 114.5 MB / 0.7835 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001619/0.1788, allocations: 0.5901 MB / 0.7841 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002128/0.179, allocations: 47.84 kB / 0.7841 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.418e-05/0.1791, allocations: 0 / 0.7841 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.1791, allocations: 0 / 0.7841 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.068e-06/0.1791, allocations: 0 / 0.7841 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.1793, allocations: 11.92 kB / 0.7841 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.417e-05/0.1793, allocations: 8 kB / 0.7841 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.1794, allocations: 8 kB / 0.7841 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.341e-05/0.1794, allocations: 0 / 0.7841 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.945e-05/0.1794, allocations: 3.984 kB / 0.7841 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.156e-06/0.1794, allocations: 0 / 0.7841 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.303e-05/0.1795, allocations: 19.98 kB / 0.7842 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.056e-06/0.1795, allocations: 0 / 0.7842 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.589e-05/0.1796, allocations: 0 / 0.7842 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.846e-05/0.1796, allocations: 27.84 kB / 0.7842 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1796, allocations: 0 / 0.7842 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1796, allocations: 0 / 0.7842 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.1796, allocations: 4 kB / 0.7842 GB, free: 12.77 MB / 0.6075 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.0002481/0.1799, allocations: 315.6 kB / 0.7845 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1799, allocations: 8.031 kB / 0.7845 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.041e-05/0.18, allocations: 34.69 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/0.1802, allocations: 16.91 kB / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.172e-05/0.1803, allocations: 168.4 kB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1803, allocations: 4.359 kB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.1803, allocations: 8.359 kB / 0.7847 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.1805, allocations: 34.25 kB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.423e-06/0.1805, allocations: 3.938 kB / 0.7848 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/0.1805, allocations: 0 / 0.7848 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1805, allocations: 0 / 0.7848 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.944e-05/0.1806, allocations: 11.98 kB / 0.7848 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.1807, allocations: 141.7 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.983e-05/0.1808, allocations: 34.53 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.824e-05/0.1808, allocations: 8.922 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.1808, allocations: 0 / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.1809, allocations: 30.56 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.1809, allocations: 0 / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.000201/0.1811, allocations: 53.7 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.1811, allocations: 55.34 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.105e-05/0.1812, allocations: 89.86 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.1812, allocations: 25.7 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.163e-05/0.1812, allocations: 80.14 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.1812, allocations: 7.906 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.1813, allocations: 17.7 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.464e-05/0.1814, allocations: 310.8 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/0.1814, allocations: 8.031 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.968e-05/0.1815, allocations: 11.92 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.635e-05/0.1815, allocations: 12.84 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1816, allocations: 0 / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001132/0.1817, allocations: 45.69 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1817, allocations: 4.094 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.1817, allocations: 11.88 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.1817, allocations: 0 / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.894e-05/0.1818, allocations: 4 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1818, allocations: 3.984 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.936e-05/0.1818, allocations: 288 / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.1818, allocations: 4 kB / 0.7857 GB, free: 11 MB / 0.6075 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.174e-05/0.1819, allocations: 109.8 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-06/0.1819, allocations: 0 / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.1819, allocations: 11.06 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1819, allocations: 0 / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.182, allocations: 4 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.182, allocations: 4 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.335e-05/0.182, allocations: 149.6 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.182, allocations: 0 / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.1821, allocations: 4 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1821, allocations: 0 / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.1821, allocations: 7.922 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1821, allocations: 0 / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1821, allocations: 4 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.1822, allocations: 69.06 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.1823, allocations: 77.11 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.1823, allocations: 3.938 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.382e-05/0.1823, allocations: 3.984 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.884e-06/0.1824, allocations: 0 / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.1824, allocations: 8.031 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.003e-05/0.1824, allocations: 75.28 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1824, allocations: 0 / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001631/0.1826, allocations: 4 kB / 0.7862 GB, free: 10.38 MB / 0.6075 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.0003573/0.1829, allocations: 0.6046 MB / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.1831, allocations: 15.92 kB / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.1831, allocations: 0 / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.026e-05/0.1831, allocations: 7.938 kB / 0.7868 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.1832, allocations: 4 kB / 0.7868 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/0.1835, allocations: 126.7 kB / 0.7869 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.1838, allocations: 0.669 MB / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.254e-05/0.1838, allocations: 3.984 kB / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/0.1838, allocations: 11.44 kB / 0.7876 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1838, allocations: 0 / 0.7876 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.312/0.4959, allocations: 0.9244 MB / 0.7885 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.24, allocations: 6.375 kB / 0.7885 GB, free: 7.98 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)