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.001434/0.001434, allocations: 105.4 kB / 15.7 MB, free: 24 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.001617/0.001617, allocations: 197.6 kB / 16.64 MB, free: 6.449 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.335/1.335, allocations: 222.9 MB / 240.3 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002021/0.00202, allocations: 276.8 kB / 290.8 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.901/0.901, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 104.1 kB / 0.5955 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1597, allocations: 86.98 MB / 0.6805 GB, free: 480 kB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002365/0.1621, allocations: 1.442 MB / 0.6819 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003952/0.1625, allocations: 195.4 kB / 0.6821 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.1625, allocations: 4 kB / 0.6821 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.507e-05/0.1626, allocations: 0 / 0.6821 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.1628, allocations: 23.8 kB / 0.6821 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.163, allocations: 54.61 kB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.1631, allocations: 67.77 kB / 0.6822 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.616e-05/0.1632, allocations: 3.938 kB / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.009e-05/0.1632, allocations: 27.92 kB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.1633, allocations: 23.95 kB / 0.6823 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.1633, allocations: 11.94 kB / 0.6823 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.1633, allocations: 4 kB / 0.6823 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.1634, allocations: 8 kB / 0.6823 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.1634, allocations: 23.92 kB / 0.6823 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.419e-05/0.1635, allocations: 43.86 kB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1635, allocations: 0 / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1635, allocations: 0 / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.1635, allocations: 0 / 0.6823 GB, free: 14.54 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.0004794/0.164, allocations: 355.3 kB / 0.6827 GB, free: 14.14 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1641, allocations: 16.62 kB / 0.6827 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.294e-05/0.1641, allocations: 30.75 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.1641, allocations: 4.938 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.1642, allocations: 172.3 kB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1643, allocations: 4.375 kB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.1643, allocations: 384 / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.1644, allocations: 72.81 kB / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1644, allocations: 7.875 kB / 0.683 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.1645, allocations: 19.92 kB / 0.683 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1645, allocations: 0 / 0.683 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.782e-05/0.1645, allocations: 16 kB / 0.683 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.1649, allocations: 268.9 kB / 0.6833 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.694e-05/0.1649, allocations: 38.56 kB / 0.6833 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.191e-05/0.165, allocations: 16.8 kB / 0.6833 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.165, allocations: 8 kB / 0.6833 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.1652, allocations: 59.48 kB / 0.6834 GB, free: 13.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.1652, allocations: 4 kB / 0.6834 GB, free: 13.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001956/0.1654, allocations: 73.58 kB / 0.6835 GB, free: 13.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.1654, allocations: 106.8 kB / 0.6836 GB, free: 13.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.379e-05/0.1655, allocations: 105.8 kB / 0.6837 GB, free: 12.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1655, allocations: 25.7 kB / 0.6837 GB, free: 12.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.1656, allocations: 96.08 kB / 0.6838 GB, free: 12.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.1656, allocations: 7.891 kB / 0.6838 GB, free: 12.83 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.1657, allocations: 25.7 kB / 0.6838 GB, free: 12.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.1658, allocations: 318.8 kB / 0.6841 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.827e-05/0.1658, allocations: 11.98 kB / 0.6841 GB, free: 12.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.486e-05/0.1658, allocations: 34.52 kB / 0.6842 GB, free: 12.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.1659, allocations: 28.84 kB / 0.6842 GB, free: 12.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1659, allocations: 4.031 kB / 0.6842 GB, free: 12.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001002/0.166, allocations: 61.53 kB / 0.6843 GB, free: 12.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.166, allocations: 8 kB / 0.6843 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.166, allocations: 0 / 0.6843 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.166, allocations: 0 / 0.6843 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.183e-05/0.1661, allocations: 4 kB / 0.6843 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.1661, allocations: 0 / 0.6843 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.1662, allocations: 16.42 kB / 0.6843 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.1662, allocations: 0 / 0.6843 GB, free: 12.29 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.698e-05/0.1663, allocations: 123.1 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.1664, allocations: 4 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.911e-05/0.1664, allocations: 7.484 kB / 0.6844 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.1664, allocations: 0 / 0.6844 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.1664, allocations: 4 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1664, allocations: 3.938 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.1665, allocations: 169.6 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1665, allocations: 0 / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-05/0.1666, allocations: 7.984 kB / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1666, allocations: 0 / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1666, allocations: 4 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1666, allocations: 4 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.1666, allocations: 0 / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.1667, allocations: 92.91 kB / 0.6847 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.1668, allocations: 85.09 kB / 0.6848 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.1668, allocations: 4.234 kB / 0.6848 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.1669, allocations: 9.859 kB / 0.6848 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.167, allocations: 11.98 kB / 0.6848 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.167, allocations: 3.984 kB / 0.6848 GB, free: 11.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.867e-05/0.167, allocations: 87.28 kB / 0.6849 GB, free: 11.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.167, allocations: 0 / 0.6849 GB, free: 11.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001824/0.1672, allocations: 8 kB / 0.6849 GB, free: 11.58 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.0003987/0.1676, allocations: 0.6396 MB / 0.6855 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.1677, allocations: 27.98 kB / 0.6855 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1677, allocations: 4 kB / 0.6855 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.79e-05/0.1678, allocations: 15.98 kB / 0.6855 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.1679, allocations: 11.88 kB / 0.6856 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009459/0.1689, allocations: 1.172 MB / 0.6867 GB, free: 9.594 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.1691, allocations: 0.6807 MB / 0.6874 GB, free: 8.887 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.594e-05/0.1692, allocations: 11.89 kB / 0.6874 GB, free: 8.875 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.1692, allocations: 11.44 kB / 0.6874 GB, free: 8.863 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1692, allocations: 4 kB / 0.6874 GB, free: 8.859 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01582/0.1851, allocations: 1.795 MB / 0.6891 GB, free: 7.258 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.167/7.353, allocations: 16.3 kB / 0.6892 GB, free: 7.246 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)