Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.001079/0.001079, allocations: 108 kB / 15.61 MB, free: 152 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.001305/0.001305, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002061, allocations: 282.7 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.915/0.915, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 96.64 kB / 0.5954 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1324, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002517/0.1349, allocations: 1.245 MB / 0.6815 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.136, allocations: 0.7403 MB / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.136, allocations: 0 / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.1361, allocations: 3.938 kB / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.1363, allocations: 3.938 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.1364, allocations: 53.36 kB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.278e-05/0.1365, allocations: 23.91 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.1366, allocations: 0.7188 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.391e-05/0.1366, allocations: 12.62 kB / 0.6823 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.1368, allocations: 19.91 kB / 0.6823 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.1368, allocations: 1.5 kB / 0.6823 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.725e-05/0.1368, allocations: 11.88 kB / 0.6824 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.928e-05/0.1369, allocations: 7.984 kB / 0.6824 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.1369, allocations: 11.92 kB / 0.6824 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.74e-05/0.137, allocations: 20.77 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.137, allocations: 4 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.137, allocations: 0 / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.137, allocations: 0 / 0.6824 GB, free: 14.43 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.0003151/0.1373, allocations: 331.5 kB / 0.6827 GB, free: 14.06 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.1374, allocations: 8.031 kB / 0.6827 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.988e-05/0.1374, allocations: 110 kB / 0.6828 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.839e-05/0.1375, allocations: 80.16 kB / 0.6829 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.1376, allocations: 243.7 kB / 0.6831 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.1377, allocations: 154.9 kB / 0.6833 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.1378, allocations: 150.9 kB / 0.6834 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.221e-05/0.1378, allocations: 105.5 kB / 0.6835 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/0.1379, allocations: 83.22 kB / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.282e-05/0.1379, allocations: 150.6 kB / 0.6838 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.186e-05/0.138, allocations: 154.6 kB / 0.6839 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.445e-05/0.138, allocations: 158.6 kB / 0.6841 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.1383, allocations: 449.9 kB / 0.6845 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.01e-05/0.1384, allocations: 169.1 kB / 0.6846 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.451e-05/0.1384, allocations: 80.14 kB / 0.6847 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.1385, allocations: 79.28 kB / 0.6848 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.1385, allocations: 109.8 kB / 0.6849 GB, free: 11.69 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.1385, allocations: 0 / 0.6849 GB, free: 11.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.975e-05/0.1386, allocations: 29.64 kB / 0.6849 GB, free: 11.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.1386, allocations: 126.7 kB / 0.685 GB, free: 11.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.1388, allocations: 109.8 kB / 0.6852 GB, free: 11.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1388, allocations: 33.7 kB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.03e-05/0.1388, allocations: 95.97 kB / 0.6853 GB, free: 11.26 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-06/0.1388, allocations: 0 / 0.6853 GB, free: 11.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.1389, allocations: 13.72 kB / 0.6853 GB, free: 11.24 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.139, allocations: 310.8 kB / 0.6856 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.139, allocations: 4 kB / 0.6856 GB, free: 10.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.608e-05/0.139, allocations: 11.98 kB / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.202e-05/0.1391, allocations: 16.95 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1391, allocations: 0 / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.901e-05/0.1392, allocations: 41.69 kB / 0.6857 GB, free: 10.85 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1392, allocations: 7.938 kB / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1392, allocations: 0 / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1392, allocations: 4 kB / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.116e-06/0.1392, allocations: 0 / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1392, allocations: 7.875 kB / 0.6857 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.033e-05/0.1393, allocations: 256 / 0.6857 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.1394, allocations: 11.98 kB / 0.6857 GB, free: 10.82 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 9.35e-05/0.1395, allocations: 186.5 kB / 0.6859 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.1395, allocations: 108.9 kB / 0.686 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.472e-05/0.1396, allocations: 112.5 kB / 0.6861 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-05/0.1396, allocations: 184.2 kB / 0.6863 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.155e-05/0.1397, allocations: 180.8 kB / 0.6864 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.524e-05/0.1398, allocations: 192.2 kB / 0.6866 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.14, allocations: 397.2 kB / 0.687 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.924e-05/0.14, allocations: 105 kB / 0.6871 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.1401, allocations: 109.1 kB / 0.6872 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-05/0.1401, allocations: 184.2 kB / 0.6874 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-05/0.1402, allocations: 180.2 kB / 0.6875 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.244e-05/0.1403, allocations: 188.2 kB / 0.6877 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.178e-05/0.1403, allocations: 188.2 kB / 0.6879 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.1405, allocations: 299.8 kB / 0.6882 GB, free: 8.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-05/0.1405, allocations: 189.9 kB / 0.6884 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.834e-05/0.1406, allocations: 188.2 kB / 0.6885 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.1407, allocations: 104.9 kB / 0.6886 GB, free: 7.578 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.1408, allocations: 180.3 kB / 0.6888 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.1408, allocations: 101 kB / 0.6889 GB, free: 7.289 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.247e-05/0.1409, allocations: 87.27 kB / 0.689 GB, free: 7.203 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1409, allocations: 0 / 0.689 GB, free: 7.203 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002206/0.1411, allocations: 4 kB / 0.689 GB, free: 7.199 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.0005079/0.1416, allocations: 0.8331 MB / 0.6898 GB, free: 6.344 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.225e-05/0.1417, allocations: 4 kB / 0.6898 GB, free: 6.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1417, allocations: 4.062 kB / 0.6898 GB, free: 6.336 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.1417, allocations: 0 / 0.6898 GB, free: 6.336 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.142, allocations: 462 kB / 0.6903 GB, free: 5.883 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008829/0.1429, allocations: 1.292 MB / 0.6915 GB, free: 4.512 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.1432, allocations: 0.6808 MB / 0.6922 GB, free: 3.805 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.327e-05/0.1432, allocations: 0 / 0.6922 GB, free: 3.805 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.915e-05/0.1432, allocations: 7.438 kB / 0.6922 GB, free: 3.797 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1432, allocations: 7.938 kB / 0.6922 GB, free: 3.789 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1321/0.2753, allocations: 1.262 MB / 0.6934 GB, free: 2.699 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.159/7.434, allocations: 20.28 kB / 0.6935 GB, free: 2.68 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)