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.001515/0.001515, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001745/0.001745, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002136/0.002136, allocations: 288.2 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9543/0.9543, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 99.45 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1422, allocations: 86.97 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002428/0.1447, allocations: 1.451 MB / 0.683 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003739/0.1451, allocations: 195.4 kB / 0.6832 GB, free: 5.801 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.296e-05/0.1451, allocations: 0 / 0.6832 GB, free: 5.801 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.1452, allocations: 7.922 kB / 0.6832 GB, free: 5.793 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.1454, allocations: 26.86 kB / 0.6832 GB, free: 5.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.1455, allocations: 63.78 kB / 0.6833 GB, free: 5.707 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.715e-05/0.1456, allocations: 47.91 kB / 0.6833 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.961e-05/0.1457, allocations: 11.94 kB / 0.6834 GB, free: 5.648 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.336e-05/0.1458, allocations: 27.91 kB / 0.6834 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.1459, allocations: 19.92 kB / 0.6834 GB, free: 5.602 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.1459, allocations: 4 kB / 0.6834 GB, free: 5.598 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.344e-05/0.1459, allocations: 4 kB / 0.6834 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.1459, allocations: 15.92 kB / 0.6834 GB, free: 5.578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.146, allocations: 27.91 kB / 0.6834 GB, free: 5.551 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.214e-05/0.1461, allocations: 47.81 kB / 0.6835 GB, free: 5.504 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1461, allocations: 0 / 0.6835 GB, free: 5.504 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1461, allocations: 0 / 0.6835 GB, free: 5.504 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1461, allocations: 0 / 0.6835 GB, free: 5.504 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.0004587/0.1466, allocations: 347.4 kB / 0.6838 GB, free: 5.113 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.1466, allocations: 12.03 kB / 0.6838 GB, free: 5.102 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.1466, allocations: 0.9375 kB / 0.6838 GB, free: 5.102 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.1467, allocations: 172.3 kB / 0.684 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1468, allocations: 8.375 kB / 0.684 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.1468, allocations: 4.375 kB / 0.684 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.1469, allocations: 72.75 kB / 0.6841 GB, free: 4.797 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1469, allocations: 4.188 kB / 0.6841 GB, free: 4.793 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1469, allocations: 7.875 kB / 0.6841 GB, free: 4.785 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.147, allocations: 0 / 0.6841 GB, free: 4.785 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.316e-05/0.147, allocations: 19.98 kB / 0.6841 GB, free: 4.766 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.1473, allocations: 276.8 kB / 0.6844 GB, free: 4.445 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.307e-05/0.1474, allocations: 38.56 kB / 0.6844 GB, free: 4.398 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.1475, allocations: 16.86 kB / 0.6844 GB, free: 4.379 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.1475, allocations: 0 / 0.6844 GB, free: 4.379 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.1476, allocations: 59.48 kB / 0.6845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.1476, allocations: 4 kB / 0.6845 GB, free: 4.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001848/0.1478, allocations: 81.59 kB / 0.6846 GB, free: 4.219 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.1479, allocations: 106.8 kB / 0.6847 GB, free: 4.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.289e-05/0.148, allocations: 105.8 kB / 0.6848 GB, free: 3.977 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.148, allocations: 29.64 kB / 0.6848 GB, free: 3.941 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.148, allocations: 91.98 kB / 0.6849 GB, free: 3.848 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.148, allocations: 7.906 kB / 0.6849 GB, free: 3.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.1481, allocations: 21.7 kB / 0.6849 GB, free: 3.812 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.204e-05/0.1482, allocations: 322.8 kB / 0.6852 GB, free: 3.488 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.712e-05/0.1482, allocations: 12 kB / 0.6852 GB, free: 3.477 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.794e-05/0.1483, allocations: 34.56 kB / 0.6853 GB, free: 3.434 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.029e-05/0.1483, allocations: 29.17 kB / 0.6853 GB, free: 3.402 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1483, allocations: 0 / 0.6853 GB, free: 3.402 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.618e-05/0.1484, allocations: 65.59 kB / 0.6854 GB, free: 3.332 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.1485, allocations: 4 kB / 0.6854 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1485, allocations: 0 / 0.6854 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.1485, allocations: 4.031 kB / 0.6854 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.133e-05/0.1486, allocations: 8 kB / 0.6854 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1486, allocations: 0 / 0.6854 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.1487, allocations: 7.984 kB / 0.6854 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1487, allocations: 8 kB / 0.6854 GB, free: 3.301 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 8.157e-05/0.1488, allocations: 117.8 kB / 0.6855 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.1488, allocations: 7.922 kB / 0.6855 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.1488, allocations: 7.5 kB / 0.6855 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1488, allocations: 4 kB / 0.6855 GB, free: 3.152 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1488, allocations: 4 kB / 0.6855 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1489, allocations: 0 / 0.6855 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.149, allocations: 173.6 kB / 0.6857 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.149, allocations: 0 / 0.6857 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.149, allocations: 4 kB / 0.6857 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.149, allocations: 0 / 0.6857 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.149, allocations: 0 / 0.6857 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.149, allocations: 0 / 0.6857 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.149, allocations: 3.938 kB / 0.6857 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.1492, allocations: 101 kB / 0.6858 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.1492, allocations: 81.09 kB / 0.6859 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1493, allocations: 4 kB / 0.6859 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1494, allocations: 11.98 kB / 0.6859 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.1494, allocations: 4 kB / 0.6859 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.1494, allocations: 7.875 kB / 0.6859 GB, free: 2.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.931e-05/0.1495, allocations: 87.33 kB / 0.686 GB, free: 2.594 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1495, allocations: 0 / 0.686 GB, free: 2.594 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001922/0.1497, allocations: 16 kB / 0.686 GB, free: 2.578 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.493e-05/0.1498, allocations: 99.44 kB / 0.6861 GB, free: 2.469 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.1499, allocations: 31.98 kB / 0.6861 GB, free: 2.438 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1499, allocations: 0 / 0.6861 GB, free: 2.438 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.091e-05/0.1499, allocations: 19.94 kB / 0.6861 GB, free: 2.418 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.1501, allocations: 7.938 kB / 0.6861 GB, free: 2.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/0.1504, allocations: 137.5 kB / 0.6863 GB, free: 2.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.1506, allocations: 0.6768 MB / 0.6869 GB, free: 1.547 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.263e-05/0.1506, allocations: 4.328 kB / 0.6869 GB, free: 1.543 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.1506, allocations: 11.44 kB / 0.687 GB, free: 1.531 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1506, allocations: 0 / 0.687 GB, free: 1.531 MB / 494.1 MB Notification: Performance of Templates: time 0.002712/0.1533, allocations: 0.8728 MB / 0.6878 GB, free: 0.6797 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)