Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.001103/0.001103, allocations: 108 kB / 15.6 MB, free: 132 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.001157/0.001157, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002128/0.002128, allocations: 294.6 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9091/0.9091, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 97.73 kB / 0.5954 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1556, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002581/0.1582, allocations: 1.449 MB / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004014/0.1586, allocations: 184.8 kB / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-05/0.1587, allocations: 0 / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.1587, allocations: 0.7188 kB / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.159, allocations: 25.59 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.1592, allocations: 51.86 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.1593, allocations: 63.84 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.1594, allocations: 15.88 kB / 0.682 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.978e-05/0.1595, allocations: 23.97 kB / 0.6821 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.262e-05/0.1596, allocations: 23.91 kB / 0.6821 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.1596, allocations: 4 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.658e-05/0.1596, allocations: 4 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.1597, allocations: 11.94 kB / 0.6821 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.1597, allocations: 31.84 kB / 0.6821 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.295e-05/0.1598, allocations: 43.86 kB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1598, allocations: 0 / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1598, allocations: 0 / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1599, allocations: 0 / 0.6822 GB, free: 14.64 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.0005076/0.1604, allocations: 355.4 kB / 0.6825 GB, free: 14.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1604, allocations: 12.03 kB / 0.6825 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.316e-05/0.1604, allocations: 30.75 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.1605, allocations: 4.938 kB / 0.6826 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.1606, allocations: 176.2 kB / 0.6827 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1606, allocations: 4.375 kB / 0.6827 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.1607, allocations: 384 / 0.6827 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1608, allocations: 76.81 kB / 0.6828 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1608, allocations: 3.938 kB / 0.6828 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1608, allocations: 0 / 0.6828 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1608, allocations: 0 / 0.6828 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.392e-05/0.1609, allocations: 23.94 kB / 0.6828 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.1613, allocations: 268.9 kB / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.032e-05/0.1614, allocations: 42.56 kB / 0.6831 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.1614, allocations: 16.86 kB / 0.6831 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.1614, allocations: 3.984 kB / 0.6831 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.1616, allocations: 67.42 kB / 0.6832 GB, free: 13.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.1616, allocations: 0 / 0.6832 GB, free: 13.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001977/0.1618, allocations: 73.58 kB / 0.6833 GB, free: 13.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.1619, allocations: 106.8 kB / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.889e-05/0.162, allocations: 105.8 kB / 0.6835 GB, free: 13.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.162, allocations: 25.7 kB / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.162, allocations: 96.02 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.1621, allocations: 3.906 kB / 0.6836 GB, free: 12.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.1621, allocations: 25.7 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.1622, allocations: 314.8 kB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.198e-05/0.1622, allocations: 11.98 kB / 0.6839 GB, free: 12.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.847e-05/0.1623, allocations: 42.52 kB / 0.684 GB, free: 12.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.31e-05/0.1624, allocations: 33.22 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1624, allocations: 0 / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.807e-05/0.1625, allocations: 53.61 kB / 0.6841 GB, free: 12.44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1625, allocations: 11.98 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1625, allocations: 0 / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.1625, allocations: 0 / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.29e-05/0.1626, allocations: 7.938 kB / 0.6841 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1626, allocations: 0 / 0.6841 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.1627, allocations: 19.95 kB / 0.6841 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1627, allocations: 4 kB / 0.6841 GB, free: 12.39 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.839e-05/0.1628, allocations: 115.1 kB / 0.6842 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.1628, allocations: 4 kB / 0.6842 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.118e-05/0.1629, allocations: 7.5 kB / 0.6842 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1629, allocations: 3.984 kB / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1629, allocations: 0 / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.1629, allocations: 0 / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.163, allocations: 173.6 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.163, allocations: 0 / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.382e-05/0.163, allocations: 4 kB / 0.6844 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.163, allocations: 0 / 0.6844 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.1631, allocations: 3.984 kB / 0.6844 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1631, allocations: 4 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1631, allocations: 0 / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.1632, allocations: 92.91 kB / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.1633, allocations: 85.09 kB / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.1633, allocations: 4 kB / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.1634, allocations: 15.98 kB / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.1635, allocations: 3.984 kB / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.1635, allocations: 0 / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.023e-05/0.1635, allocations: 91.34 kB / 0.6847 GB, free: 11.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1635, allocations: 3.938 kB / 0.6847 GB, free: 11.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001908/0.1637, allocations: 8 kB / 0.6847 GB, free: 11.69 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.0004037/0.1641, allocations: 0.6321 MB / 0.6853 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.1643, allocations: 31.97 kB / 0.6853 GB, free: 10.99 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1643, allocations: 0 / 0.6853 GB, free: 10.99 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/0.1643, allocations: 27.97 kB / 0.6854 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.1645, allocations: 2.469 kB / 0.6854 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.1656, allocations: 1.185 MB / 0.6865 GB, free: 9.699 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.1659, allocations: 0.6807 MB / 0.6872 GB, free: 8.992 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.368e-05/0.1659, allocations: 7.906 kB / 0.6872 GB, free: 8.984 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.166, allocations: 19.42 kB / 0.6872 GB, free: 8.965 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.166, allocations: 0 / 0.6872 GB, free: 8.965 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09253/0.2585, allocations: 1.747 MB / 0.6889 GB, free: 7.363 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.065/7.324, allocations: 17.58 kB / 0.6889 GB, free: 7.352 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)