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.001193/0.001193, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00128/0.00128, allocations: 191.8 kB / 16.13 MB, free: 6.66 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.244/1.244, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 274.9 kB / 290.2 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8838/0.8838, allocations: 169.2 MB / 0.4977 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 99.45 kB / 0.5946 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.127, allocations: 86.97 MB / 0.6795 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002209/0.1292, allocations: 1.52 MB / 0.681 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003281/0.1296, allocations: 183.9 kB / 0.6812 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.044e-05/0.1296, allocations: 0 / 0.6812 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.1296, allocations: 0.5938 kB / 0.6812 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.1298, allocations: 20.64 kB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.13, allocations: 52.8 kB / 0.6813 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.119e-05/0.1301, allocations: 59.72 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.802e-05/0.1301, allocations: 8.562 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.39e-05/0.1302, allocations: 21.39 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.801e-05/0.1302, allocations: 19.91 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.1303, allocations: 4 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.877e-05/0.1303, allocations: 4.656 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.1303, allocations: 15.86 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.1304, allocations: 23.92 kB / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.683e-05/0.1304, allocations: 47.86 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1305, allocations: 0 / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1305, allocations: 0 / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.1305, allocations: 0 / 0.6815 GB, free: 15.11 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.0004291/0.1309, allocations: 351.4 kB / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.1309, allocations: 8.031 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.186e-05/0.131, allocations: 34.73 kB / 0.6819 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.131, allocations: 4.938 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.74e-05/0.1311, allocations: 172.3 kB / 0.682 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1311, allocations: 4.375 kB / 0.682 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.1311, allocations: 4.375 kB / 0.682 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.1313, allocations: 72.75 kB / 0.6821 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1313, allocations: 3.938 kB / 0.6821 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1313, allocations: 0 / 0.6821 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1313, allocations: 4 kB / 0.6821 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.993e-05/0.1314, allocations: 19.98 kB / 0.6821 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.1317, allocations: 268.9 kB / 0.6824 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.092e-05/0.1318, allocations: 42.5 kB / 0.6824 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.202e-05/0.1318, allocations: 16.86 kB / 0.6824 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/0.1318, allocations: 4.078 kB / 0.6824 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.1319, allocations: 71.39 kB / 0.6825 GB, free: 13.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 3.166e-06/0.1319, allocations: 3.984 kB / 0.6825 GB, free: 13.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001787/0.1321, allocations: 73.53 kB / 0.6826 GB, free: 13.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.1322, allocations: 102.8 kB / 0.6827 GB, free: 13.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.552e-05/0.1323, allocations: 105.8 kB / 0.6828 GB, free: 13.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1323, allocations: 33.64 kB / 0.6828 GB, free: 13.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.1323, allocations: 88.08 kB / 0.6829 GB, free: 13.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.1323, allocations: 11.88 kB / 0.6829 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.1324, allocations: 25.72 kB / 0.6829 GB, free: 13.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.473e-05/0.1325, allocations: 318.8 kB / 0.6832 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.786e-05/0.1325, allocations: 12 kB / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.602e-05/0.1326, allocations: 34.56 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.601e-05/0.1326, allocations: 24.86 kB / 0.6833 GB, free: 12.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1326, allocations: 3.938 kB / 0.6833 GB, free: 12.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.33e-05/0.1327, allocations: 65.53 kB / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1327, allocations: 8.031 kB / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-06/0.1327, allocations: 0 / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/0.1328, allocations: 0 / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.64e-05/0.1328, allocations: 4 kB / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1328, allocations: 7.984 kB / 0.6834 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.1329, allocations: 4 kB / 0.6834 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.133, allocations: 4 kB / 0.6834 GB, free: 12.87 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.487e-05/0.133, allocations: 119.1 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.1331, allocations: 8 kB / 0.6835 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.916e-05/0.1331, allocations: 7.5 kB / 0.6835 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1331, allocations: 0 / 0.6835 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1331, allocations: 0 / 0.6835 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1331, allocations: 448 / 0.6835 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.1332, allocations: 173.6 kB / 0.6837 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1332, allocations: 4 kB / 0.6837 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/0.1333, allocations: 7.938 kB / 0.6837 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1333, allocations: 0 / 0.6837 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.1333, allocations: 4 kB / 0.6837 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1333, allocations: 0 / 0.6837 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1333, allocations: 4 kB / 0.6837 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.1334, allocations: 92.95 kB / 0.6838 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.1335, allocations: 85.09 kB / 0.6839 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.1335, allocations: 0 / 0.6839 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.1336, allocations: 15.98 kB / 0.6839 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.406e-05/0.1336, allocations: 0 / 0.6839 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.1336, allocations: 7.938 kB / 0.6839 GB, free: 12.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.186e-05/0.1337, allocations: 91.27 kB / 0.684 GB, free: 12.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1337, allocations: 0 / 0.684 GB, free: 12.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001823/0.1339, allocations: 8 kB / 0.684 GB, free: 12.16 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.0003291/0.1342, allocations: 0.6318 MB / 0.6846 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.779e-05/0.1343, allocations: 31.98 kB / 0.6846 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1343, allocations: 4 kB / 0.6847 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.68e-05/0.1344, allocations: 15.94 kB / 0.6847 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.1345, allocations: 8.938 kB / 0.6847 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008795/0.1354, allocations: 1.182 MB / 0.6858 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.1356, allocations: 0.677 MB / 0.6865 GB, free: 9.465 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.421e-05/0.1356, allocations: 12.08 kB / 0.6865 GB, free: 9.453 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.1357, allocations: 11.44 kB / 0.6865 GB, free: 9.441 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1357, allocations: 4 kB / 0.6865 GB, free: 9.438 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1992/0.3349, allocations: 1.625 MB / 0.6881 GB, free: 8.008 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.3351, allocations: 255.5 kB / 0.6883 GB, free: 7.758 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.189, allocations: 2.406 kB / 0.6883 GB, free: 7.758 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)