Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.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.BoundaryConditions.Scenarios.Examples.StepFunctionExample,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample",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.007293/0.007294, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001377/0.001378, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.8883/0.8883, allocations: 143.1 MB / 433.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 64.27 kB / 0.595 GB, free: 12.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1685, allocations: 82.03 MB / 0.6751 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.002803/0.1714, allocations: 1.239 MB / 0.6763 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1728, allocations: 0.7277 MB / 0.677 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.173, allocations: 4 kB / 0.6771 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004948/0.1735, allocations: 255.2 kB / 0.6773 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005936/0.1741, allocations: 243.2 kB / 0.6775 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006359/0.1748, allocations: 270.2 kB / 0.6778 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004708/0.1753, allocations: 371.1 kB / 0.6781 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.1755, allocations: 72.88 kB / 0.6782 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.1757, allocations: 163.3 kB / 0.6784 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.176, allocations: 247.2 kB / 0.6786 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.432e-05/0.1761, allocations: 16 kB / 0.6786 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1762, allocations: 51.98 kB / 0.6787 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.1764, allocations: 163.5 kB / 0.6788 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.1766, allocations: 202.4 kB / 0.679 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005087/0.1771, allocations: 482.2 kB / 0.6795 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1771, allocations: 0 / 0.6795 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1771, allocations: 4 kB / 0.6795 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.1771, allocations: 0 / 0.6795 GB, free: 6.41 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001456/0.1786, allocations: 0.9223 MB / 0.6804 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1786, allocations: 8.031 kB / 0.6804 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.59e-05/0.1787, allocations: 46.73 kB / 0.6804 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.1788, allocations: 60.09 kB / 0.6805 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006034/0.1794, allocations: 492.4 kB / 0.681 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.1795, allocations: 4.375 kB / 0.681 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.1795, allocations: 8.375 kB / 0.681 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006746/0.1802, allocations: 300.8 kB / 0.6813 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1802, allocations: 0 / 0.6813 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.1803, allocations: 4 kB / 0.6813 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.322e-05/0.1803, allocations: 19.92 kB / 0.6813 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.1813, allocations: 411.5 kB / 0.6817 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.1826, allocations: 0.8713 MB / 0.6825 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.1838, allocations: 488.8 kB / 0.683 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004544/0.1843, allocations: 209.5 kB / 0.6832 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.493e-05/0.1843, allocations: 7.984 kB / 0.6832 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.1843, allocations: 38.56 kB / 0.6832 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=23): time 2.003e-06/0.1844, allocations: 0 / 0.6832 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.001542/0.1859, allocations: 0.6143 MB / 0.6838 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.186, allocations: 89.05 kB / 0.6839 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.187, allocations: 0.8946 MB / 0.6848 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.187, allocations: 29.7 kB / 0.6848 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.1872, allocations: 272.5 kB / 0.6851 GB, free: 436 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.935e-05/0.1873, allocations: 67.11 kB / 0.6851 GB, free: 368 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-05/0.1874, allocations: 45.69 kB / 0.6852 GB, free: 316 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1876, allocations: 374.8 kB / 0.6855 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/0.188, allocations: 179.7 kB / 0.6857 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000449/0.1885, allocations: 198.3 kB / 0.6859 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007718/0.1892, allocations: 313.4 kB / 0.6862 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.1893, allocations: 0 / 0.6862 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009865/0.1902, allocations: 440.8 kB / 0.6866 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1903, allocations: 4 kB / 0.6866 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1903, allocations: 4 kB / 0.6866 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1903, allocations: 3.938 kB / 0.6866 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.1907, allocations: 83.84 kB / 0.6867 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1907, allocations: 0 / 0.6867 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.191, allocations: 51.8 kB / 0.6868 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.191, allocations: 7.984 kB / 0.6868 GB, free: 14.66 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (fctEsc1.u[5],fctEsc1.u[4],fctEsc1.u[3],fctEsc1.u[2],fctEsc1.u[1],fctEscPer1.u[5],fctEscPer1.u[4],fctEscPer1.u[3],fctEscPer1.u[2],fctEscPer1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 0.000254/0.1913, allocations: 241.8 kB / 0.687 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.1914, allocations: 67.09 kB / 0.6871 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.1925, allocations: 494.4 kB / 0.6875 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.1926, allocations: 7.984 kB / 0.6875 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1926, allocations: 0 / 0.6875 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1926, allocations: 7.875 kB / 0.6876 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005591/0.1932, allocations: 481.1 kB / 0.688 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1932, allocations: 0 / 0.688 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.1935, allocations: 79.92 kB / 0.6881 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1935, allocations: 7.938 kB / 0.6881 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.1936, allocations: 7.922 kB / 0.6881 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.1936, allocations: 7.984 kB / 0.6881 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1936, allocations: 0 / 0.6881 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.1946, allocations: 0.6086 MB / 0.6887 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.1947, allocations: 144.3 kB / 0.6888 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.92e-05/0.1948, allocations: 11.94 kB / 0.6889 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.1951, allocations: 35.95 kB / 0.6889 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.1953, allocations: 91.84 kB / 0.689 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.1953, allocations: 11.98 kB / 0.689 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006816/0.196, allocations: 0.6435 MB / 0.6896 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.196, allocations: 0 / 0.6896 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003865/0.1964, allocations: 67.94 kB / 0.6897 GB, free: 11.57 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (fctEsc1.u[1],fctEsc1.u[2],fctEsc1.u[3],fctEsc1.u[4],fctEsc1.u[5],fctEscPer1.u[1],fctEscPer1.u[2],fctEscPer1.u[3],fctEscPer1.u[4],fctEscPer1.u[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.001988/0.1984, allocations: 1.404 MB / 0.6911 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009777/0.1994, allocations: 395.6 kB / 0.6914 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1994, allocations: 0 / 0.6914 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005247/0.1999, allocations: 252.3 kB / 0.6917 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/0.2006, allocations: 92.86 kB / 0.6918 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007617/0.2082, allocations: 5.451 MB / 0.6971 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.2087, allocations: 0.8851 MB / 0.6979 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002521/0.209, allocations: 98.89 kB / 0.698 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.2093, allocations: 195.4 kB / 0.6982 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.2093, allocations: 0 / 0.6982 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03178/0.2411, allocations: 11.93 MB / 0.7099 GB, free: 7.039 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.566/8.807, allocations: 10.44 kB / 0.7099 GB, free: 7.031 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe ; mkfifo BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe >> ../files/BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample.fmu > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe 2>&1)