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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007554/0.0007554, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004689/0.00469, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.309/1.309, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001666/0.001665, allocations: 274.6 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9468/0.9468, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004055/0.0004055, allocations: 17.84 kB / 0.5987 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1533, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001433/0.1548, allocations: 1.175 MB / 0.6863 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003508/0.1552, allocations: 180.9 kB / 0.6865 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.1552, allocations: 0 / 0.6865 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.1552, allocations: 4.5 kB / 0.6865 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.1554, allocations: 18.2 kB / 0.6865 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.1556, allocations: 58.73 kB / 0.6865 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.502e-05/0.1557, allocations: 51.84 kB / 0.6866 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.698e-05/0.1558, allocations: 12.22 kB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.845e-05/0.1558, allocations: 19.42 kB / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.307e-05/0.1559, allocations: 19.91 kB / 0.6866 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.1559, allocations: 4 kB / 0.6866 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.1559, allocations: 0 / 0.6866 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.156, allocations: 15.92 kB / 0.6866 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.156, allocations: 45.62 kB / 0.6867 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.113e-05/0.1561, allocations: 43.8 kB / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1561, allocations: 0 / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1561, allocations: 0 / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.1561, allocations: 4.625 kB / 0.6867 GB, free: 13.42 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.0004526/0.1566, allocations: 344.6 kB / 0.6871 GB, free: 13.03 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.1566, allocations: 8.562 kB / 0.6871 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.1567, allocations: 7.344 kB / 0.6871 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.1568, allocations: 168.4 kB / 0.6872 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.1568, allocations: 4.375 kB / 0.6872 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.1568, allocations: 384 / 0.6872 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.157, allocations: 73.56 kB / 0.6873 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.157, allocations: 192 / 0.6873 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.157, allocations: 4.719 kB / 0.6873 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.157, allocations: 0 / 0.6873 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.614e-05/0.1571, allocations: 29.45 kB / 0.6873 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.1574, allocations: 277.4 kB / 0.6876 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.633e-05/0.1575, allocations: 39.91 kB / 0.6877 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.403e-05/0.1576, allocations: 16.86 kB / 0.6877 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.146e-06/0.1576, allocations: 7.25 kB / 0.6877 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.1577, allocations: 63.48 kB / 0.6877 GB, free: 12.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1577, allocations: 0 / 0.6877 GB, free: 12.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001769/0.1579, allocations: 69.67 kB / 0.6878 GB, free: 12.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.158, allocations: 102.8 kB / 0.6879 GB, free: 12.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.074e-05/0.1581, allocations: 105.8 kB / 0.688 GB, free: 11.92 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1581, allocations: 30.33 kB / 0.688 GB, free: 11.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.1581, allocations: 96.86 kB / 0.6881 GB, free: 11.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.1582, allocations: 7.844 kB / 0.6881 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.1582, allocations: 22.38 kB / 0.6882 GB, free: 11.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.966e-05/0.1583, allocations: 318.8 kB / 0.6885 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.689e-05/0.1583, allocations: 9.344 kB / 0.6885 GB, free: 11.42 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.953e-05/0.1584, allocations: 38.56 kB / 0.6885 GB, free: 11.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.954e-05/0.1584, allocations: 25.23 kB / 0.6885 GB, free: 11.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1584, allocations: 0 / 0.6885 GB, free: 11.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001029/0.1586, allocations: 61.69 kB / 0.6886 GB, free: 11.28 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1586, allocations: 8 kB / 0.6886 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1586, allocations: 3.938 kB / 0.6886 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.1586, allocations: 0 / 0.6886 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.957e-05/0.1587, allocations: 4 kB / 0.6886 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1587, allocations: 3.984 kB / 0.6886 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.1588, allocations: 15.94 kB / 0.6886 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.1588, allocations: 0 / 0.6886 GB, free: 11.25 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.983e-05/0.1589, allocations: 123.1 kB / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.1589, allocations: 4 kB / 0.6887 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.834e-05/0.1589, allocations: 3.5 kB / 0.6887 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1589, allocations: 0 / 0.6887 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.159, allocations: 4 kB / 0.6887 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.159, allocations: 0 / 0.6887 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.1591, allocations: 173.6 kB / 0.6889 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1591, allocations: 4 kB / 0.6889 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.221e-05/0.1591, allocations: 4 kB / 0.6889 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1591, allocations: 0 / 0.6889 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1591, allocations: 0 / 0.6889 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1591, allocations: 0 / 0.6889 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1592, allocations: 0 / 0.6889 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.1593, allocations: 96.98 kB / 0.689 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.1594, allocations: 89 kB / 0.6891 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1594, allocations: 4 kB / 0.6891 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.1595, allocations: 11.98 kB / 0.6891 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.1595, allocations: 4 kB / 0.6891 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.1595, allocations: 0 / 0.6891 GB, free: 10.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.275e-05/0.1596, allocations: 95.33 kB / 0.6892 GB, free: 10.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.522e-06/0.1596, allocations: 0 / 0.6892 GB, free: 10.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001904/0.1598, allocations: 15.94 kB / 0.6892 GB, free: 10.53 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 9.627e-05/0.1599, allocations: 107.5 kB / 0.6893 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.16, allocations: 35.92 kB / 0.6894 GB, free: 10.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.16, allocations: 0 / 0.6894 GB, free: 10.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.656e-05/0.1601, allocations: 12 kB / 0.6894 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.1602, allocations: 16.67 kB / 0.6894 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/0.1605, allocations: 132.6 kB / 0.6895 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.1607, allocations: 0.6848 MB / 0.6902 GB, free: 9.484 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.116e-05/0.1608, allocations: 4 kB / 0.6902 GB, free: 9.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.1608, allocations: 11.44 kB / 0.6902 GB, free: 9.469 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1608, allocations: 0 / 0.6902 GB, free: 9.469 MB / 494.1 MB Notification: Performance of Templates: time 0.002651/0.1635, allocations: 0.8218 MB / 0.691 GB, free: 8.668 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)