Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.00106/0.00106, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001181/0.001181, allocations: 194.6 kB / 16.26 MB, free: 6.633 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.3/1.3, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002091/0.002091, allocations: 282.6 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9025/0.9025, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 99.69 kB / 0.5948 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1309, allocations: 86.98 MB / 0.6797 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002332/0.1333, allocations: 1.51 MB / 0.6812 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003508/0.1336, allocations: 184.5 kB / 0.6814 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.122e-05/0.1337, allocations: 4 kB / 0.6814 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.1337, allocations: 0.6562 kB / 0.6814 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.1339, allocations: 25.42 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.1341, allocations: 50.8 kB / 0.6815 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.336e-05/0.1342, allocations: 59.78 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.332e-05/0.1342, allocations: 15.02 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.334e-05/0.1343, allocations: 19.98 kB / 0.6816 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.924e-05/0.1344, allocations: 23.91 kB / 0.6816 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1344, allocations: 4 kB / 0.6816 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.1344, allocations: 4 kB / 0.6816 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.1344, allocations: 15.92 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.1345, allocations: 23.92 kB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.71e-05/0.1346, allocations: 48.52 kB / 0.6817 GB, free: 14.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1346, allocations: 0 / 0.6817 GB, free: 14.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1346, allocations: 0.875 kB / 0.6817 GB, free: 14.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.1346, allocations: 0 / 0.6817 GB, free: 14.98 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004661/0.135, allocations: 348.9 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1351, allocations: 12.62 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.1351, allocations: 35.86 kB / 0.6821 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.1352, allocations: 8.938 kB / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.1353, allocations: 168.2 kB / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1353, allocations: 8.375 kB / 0.6822 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.1353, allocations: 384 / 0.6822 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.1354, allocations: 76.81 kB / 0.6823 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1355, allocations: 3.938 kB / 0.6823 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1355, allocations: 0 / 0.6823 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1355, allocations: 0 / 0.6823 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.865e-05/0.1355, allocations: 23.92 kB / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.1359, allocations: 276.9 kB / 0.6826 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.989e-05/0.1359, allocations: 34.56 kB / 0.6826 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.136, allocations: 16.95 kB / 0.6826 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.136, allocations: 3.984 kB / 0.6826 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.1361, allocations: 71.33 kB / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1361, allocations: 0 / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001707/0.1363, allocations: 73.53 kB / 0.6828 GB, free: 13.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.1364, allocations: 102.8 kB / 0.6829 GB, free: 13.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.254e-05/0.1364, allocations: 109.8 kB / 0.683 GB, free: 13.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1365, allocations: 29.7 kB / 0.683 GB, free: 13.37 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.397e-05/0.1365, allocations: 88.08 kB / 0.6831 GB, free: 13.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.1365, allocations: 11.89 kB / 0.6831 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.1366, allocations: 17.72 kB / 0.6831 GB, free: 13.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.1367, allocations: 326.8 kB / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.642e-05/0.1367, allocations: 8 kB / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.877e-05/0.1368, allocations: 38.5 kB / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.588e-05/0.1369, allocations: 29.23 kB / 0.6835 GB, free: 12.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1369, allocations: 0 / 0.6835 GB, free: 12.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.166e-05/0.137, allocations: 61.59 kB / 0.6836 GB, free: 12.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.137, allocations: 8 kB / 0.6836 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.137, allocations: 32 / 0.6836 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.137, allocations: 4 kB / 0.6836 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-05/0.1371, allocations: 7.984 kB / 0.6836 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.1371, allocations: 3.938 kB / 0.6836 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.1372, allocations: 8 kB / 0.6836 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.1372, allocations: 3.984 kB / 0.6836 GB, free: 12.73 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: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.521e-05/0.1373, allocations: 119.1 kB / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.1373, allocations: 4 kB / 0.6837 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.1373, allocations: 3.5 kB / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1373, allocations: 4 kB / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.1373, allocations: 0 / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1373, allocations: 192 / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.1375, allocations: 173.6 kB / 0.6839 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1375, allocations: 0 / 0.6839 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.35e-05/0.1375, allocations: 7.984 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1375, allocations: 0 / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1375, allocations: 0 / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.1375, allocations: 4 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1375, allocations: 0 / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.1377, allocations: 100.9 kB / 0.684 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.1377, allocations: 89.09 kB / 0.6841 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.1377, allocations: 0 / 0.6841 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.1378, allocations: 8.047 kB / 0.6841 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.1379, allocations: 11.94 kB / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.1379, allocations: 0 / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.267e-05/0.1379, allocations: 91.27 kB / 0.6842 GB, free: 12.03 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.138, allocations: 0 / 0.6842 GB, free: 12.03 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000182/0.1381, allocations: 12 kB / 0.6842 GB, free: 12.02 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003764/0.1385, allocations: 0.6396 MB / 0.6848 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.1386, allocations: 35.92 kB / 0.6849 GB, free: 11.31 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.1386, allocations: 0 / 0.6849 GB, free: 11.31 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.614e-05/0.1387, allocations: 12 kB / 0.6849 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.1388, allocations: 8 kB / 0.6849 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009326/0.1398, allocations: 1.184 MB / 0.686 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.14, allocations: 0.6768 MB / 0.6867 GB, free: 9.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.339e-05/0.14, allocations: 7.906 kB / 0.6867 GB, free: 9.312 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.1401, allocations: 11.44 kB / 0.6867 GB, free: 9.301 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1401, allocations: 0 / 0.6867 GB, free: 9.301 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1657/0.3057, allocations: 1.693 MB / 0.6884 GB, free: 7.824 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.306, allocations: 253.7 kB / 0.6886 GB, free: 7.574 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.152, allocations: 0 / 0.6886 GB, free: 7.574 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)