Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",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.001319/0.001319, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001212/0.001212, allocations: 192.2 kB / 16.25 MB, free: 6.629 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.216/1.216, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001904/0.001904, allocations: 286.2 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8535/0.8535, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 90.62 kB / 0.5948 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1238, allocations: 86.98 MB / 0.6797 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002189/0.1261, allocations: 1.321 MB / 0.681 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008358/0.1269, allocations: 0.7292 MB / 0.6817 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.918e-05/0.127, allocations: 0 / 0.6817 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.127, allocations: 3.938 kB / 0.6817 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.1272, allocations: 4 kB / 0.6817 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.1273, allocations: 43.94 kB / 0.6818 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.547e-05/0.1274, allocations: 29.91 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.307e-05/0.1274, allocations: 0 / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.271e-05/0.1275, allocations: 15.88 kB / 0.6818 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.1276, allocations: 15.91 kB / 0.6818 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.1276, allocations: 4 kB / 0.6818 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.622e-05/0.1277, allocations: 8.719 kB / 0.6819 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.263e-05/0.1277, allocations: 7.984 kB / 0.6819 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.1277, allocations: 8.797 kB / 0.6819 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.918e-05/0.1278, allocations: 20.2 kB / 0.6819 GB, free: 14.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1278, allocations: 0.625 kB / 0.6819 GB, free: 14.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1278, allocations: 0 / 0.6819 GB, free: 14.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.1278, allocations: 1.344 kB / 0.6819 GB, free: 14.79 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002876/0.1281, allocations: 331.5 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.1282, allocations: 12.03 kB / 0.6822 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.1282, allocations: 106.8 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.1283, allocations: 80.22 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.1284, allocations: 247.6 kB / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.1284, allocations: 158.9 kB / 0.6828 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.1285, allocations: 150.9 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.874e-05/0.1285, allocations: 101.5 kB / 0.683 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.1286, allocations: 79.22 kB / 0.6831 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/0.1286, allocations: 154.6 kB / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/0.1287, allocations: 154.6 kB / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.118e-05/0.1287, allocations: 150.6 kB / 0.6835 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.129, allocations: 453.9 kB / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.26e-05/0.129, allocations: 169.1 kB / 0.6841 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.678e-05/0.1291, allocations: 84.14 kB / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.1291, allocations: 75.28 kB / 0.6843 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.1291, allocations: 109.9 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1291, allocations: 0 / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.628e-05/0.1292, allocations: 38.09 kB / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.1293, allocations: 134.7 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.207e-05/0.1293, allocations: 105.8 kB / 0.6847 GB, free: 11.74 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.1294, allocations: 25.7 kB / 0.6847 GB, free: 11.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.1294, allocations: 88.03 kB / 0.6848 GB, free: 11.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/0.1294, allocations: 0 / 0.6848 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.1295, allocations: 21.72 kB / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.962e-05/0.1295, allocations: 310.8 kB / 0.6851 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.906e-05/0.1296, allocations: 11.98 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.1296, allocations: 4 kB / 0.6851 GB, free: 11.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.068e-05/0.1296, allocations: 16.86 kB / 0.6851 GB, free: 11.24 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1296, allocations: 0 / 0.6851 GB, free: 11.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.292e-05/0.1297, allocations: 45.62 kB / 0.6852 GB, free: 11.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1298, allocations: 10.12 kB / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1298, allocations: 7.922 kB / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1298, allocations: 0 / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.1298, allocations: 0 / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.1298, allocations: 8.125 kB / 0.6852 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1299, allocations: 3.984 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1299, allocations: 256 / 0.6852 GB, free: 11.16 MB / 494.1 MB 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): 0 * Array equations: 1 * 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 8.926e-05/0.13, allocations: 186.4 kB / 0.6854 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.77e-05/0.1301, allocations: 108.9 kB / 0.6855 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/0.1301, allocations: 116.4 kB / 0.6856 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.364e-05/0.1302, allocations: 188.2 kB / 0.6858 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.183e-05/0.1303, allocations: 184.3 kB / 0.6859 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.612e-05/0.1303, allocations: 176.3 kB / 0.6861 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.1305, allocations: 405.2 kB / 0.6865 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.398e-05/0.1305, allocations: 104.9 kB / 0.6866 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-05/0.1306, allocations: 105 kB / 0.6867 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.523e-05/0.1306, allocations: 188.1 kB / 0.6869 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.12e-05/0.1307, allocations: 184.2 kB / 0.687 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.355e-05/0.1308, allocations: 176.3 kB / 0.6872 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.481e-05/0.1308, allocations: 184.2 kB / 0.6874 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.1309, allocations: 315.8 kB / 0.6877 GB, free: 8.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.131, allocations: 186 kB / 0.6879 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/0.1311, allocations: 184.1 kB / 0.688 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.388e-05/0.1312, allocations: 105 kB / 0.6881 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.1312, allocations: 176.3 kB / 0.6883 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.1313, allocations: 108.9 kB / 0.6884 GB, free: 7.633 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.584e-05/0.1313, allocations: 87.28 kB / 0.6885 GB, free: 7.547 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1313, allocations: 4 kB / 0.6885 GB, free: 7.543 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.1315, allocations: 0 / 0.6885 GB, free: 7.543 MB / 494.1 MB 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 (0): * Single equations (assignments): 0 * 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.0004145/0.132, allocations: 0.832 MB / 0.6893 GB, free: 6.688 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.402e-05/0.132, allocations: 7.938 kB / 0.6893 GB, free: 6.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.132, allocations: 0 / 0.6893 GB, free: 6.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.132, allocations: 0 / 0.6893 GB, free: 6.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.1324, allocations: 463.4 kB / 0.6898 GB, free: 6.227 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008351/0.1332, allocations: 1.287 MB / 0.691 GB, free: 4.859 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.1334, allocations: 0.6768 MB / 0.6917 GB, free: 4.156 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.674e-05/0.1334, allocations: 7.938 kB / 0.6917 GB, free: 4.148 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/0.1335, allocations: 11.44 kB / 0.6917 GB, free: 4.141 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1335, allocations: 0 / 0.6917 GB, free: 4.141 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.354/1.488, allocations: 1.228 MB / 0.6929 GB, free: 3.141 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/1.488, allocations: 258.5 kB / 0.6931 GB, free: 2.789 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/3.067, allocations: 2.031 kB / 0.6932 GB, free: 2.789 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1)