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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001326/0.001327, allocations: 196.8 kB / 16.14 MB, free: 6.715 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.412/1.412, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002584/0.002584, allocations: 274.9 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.069/1.069, allocations: 178.6 MB / 0.5068 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 99.59 kB / 0.6057 GB, free: 25.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1581, allocations: 89.15 MB / 0.6928 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002723/0.1609, allocations: 1.522 MB / 0.6943 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003978/0.1613, allocations: 179.4 kB / 0.6945 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.1613, allocations: 0 / 0.6945 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.1614, allocations: 3.984 kB / 0.6945 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.1616, allocations: 22.45 kB / 0.6945 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.1618, allocations: 51.92 kB / 0.6945 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.32e-05/0.1619, allocations: 55.8 kB / 0.6946 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.692e-05/0.1619, allocations: 7.984 kB / 0.6946 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.487e-05/0.162, allocations: 20.64 kB / 0.6946 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.848e-05/0.1621, allocations: 19.91 kB / 0.6946 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.1621, allocations: 6.188 kB / 0.6946 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.513e-05/0.1621, allocations: 0 / 0.6946 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.698e-05/0.1622, allocations: 15.92 kB / 0.6947 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.671e-05/0.1622, allocations: 19.92 kB / 0.6947 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.872e-05/0.1623, allocations: 44.09 kB / 0.6947 GB, free: 2.848 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1623, allocations: 2.031 kB / 0.6947 GB, free: 2.848 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1623, allocations: 0 / 0.6947 GB, free: 2.848 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.1623, allocations: 0 / 0.6947 GB, free: 2.848 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.0005935/0.1629, allocations: 347.4 kB / 0.695 GB, free: 2.457 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.163, allocations: 12.59 kB / 0.6951 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.163, allocations: 0.9375 kB / 0.6951 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.1632, allocations: 184.2 kB / 0.6952 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.1632, allocations: 8.375 kB / 0.6952 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.1632, allocations: 384 / 0.6952 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1634, allocations: 76.81 kB / 0.6953 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1634, allocations: 192 / 0.6953 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1634, allocations: 3.938 kB / 0.6953 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1634, allocations: 3.984 kB / 0.6953 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.809e-05/0.1635, allocations: 12 kB / 0.6953 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.1639, allocations: 284.8 kB / 0.6956 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.656e-05/0.164, allocations: 38.56 kB / 0.6956 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.769e-05/0.164, allocations: 12.86 kB / 0.6957 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.164, allocations: 0 / 0.6957 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.1642, allocations: 75.36 kB / 0.6957 GB, free: 1.633 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1642, allocations: 3.938 kB / 0.6957 GB, free: 1.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002175/0.1644, allocations: 77.58 kB / 0.6958 GB, free: 1.547 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/0.1645, allocations: 102.8 kB / 0.6959 GB, free: 1.422 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.468e-05/0.1646, allocations: 105.8 kB / 0.696 GB, free: 1.309 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.1647, allocations: 29.7 kB / 0.696 GB, free: 1.273 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.1647, allocations: 84.14 kB / 0.6961 GB, free: 1.188 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.1647, allocations: 15.75 kB / 0.6961 GB, free: 1.172 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.1648, allocations: 21.7 kB / 0.6961 GB, free: 1.145 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.165, allocations: 322.8 kB / 0.6965 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.509e-05/0.165, allocations: 11.98 kB / 0.6965 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.177e-05/0.1651, allocations: 34.52 kB / 0.6965 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.657e-05/0.1651, allocations: 24.84 kB / 0.6965 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1651, allocations: 0 / 0.6965 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001077/0.1652, allocations: 61.69 kB / 0.6966 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.1653, allocations: 8.031 kB / 0.6966 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1653, allocations: 448 / 0.6966 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.1653, allocations: 4 kB / 0.6966 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.692e-05/0.1654, allocations: 4 kB / 0.6966 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/0.1654, allocations: 3.938 kB / 0.6966 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.1655, allocations: 13.39 kB / 0.6966 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1655, allocations: 4 kB / 0.6966 GB, free: 0.6367 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 0.000105/0.1656, allocations: 121.8 kB / 0.6967 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.1657, allocations: 4 kB / 0.6967 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.723e-05/0.1657, allocations: 3.5 kB / 0.6967 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1657, allocations: 7.984 kB / 0.6968 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1657, allocations: 0 / 0.6968 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1657, allocations: 0 / 0.6968 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.1659, allocations: 173.5 kB / 0.6969 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1659, allocations: 0 / 0.6969 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.405e-05/0.1659, allocations: 4 kB / 0.6969 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1659, allocations: 3.984 kB / 0.6969 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.1659, allocations: 0 / 0.6969 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.166, allocations: 0 / 0.6969 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.166, allocations: 7.938 kB / 0.6969 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.1661, allocations: 93 kB / 0.697 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1662, allocations: 89.09 kB / 0.6971 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.1662, allocations: 0 / 0.6971 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.1664, allocations: 8.219 kB / 0.6971 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.1664, allocations: 7.984 kB / 0.6971 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.1664, allocations: 0 / 0.6971 GB, free: 28 kB / 494.1 MB Notification: Performance of sorting global known variables: time 6.18e-05/0.1665, allocations: 87.28 kB / 0.6972 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1665, allocations: 0 / 0.6972 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001968/0.1667, allocations: 15.94 kB / 0.6972 GB, free: 15.93 MB / 0.4981 GB 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.0001104/0.1668, allocations: 111.2 kB / 0.6973 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.1669, allocations: 31.98 kB / 0.6974 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1669, allocations: 0 / 0.6974 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.303e-05/0.167, allocations: 15.94 kB / 0.6974 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.1671, allocations: 7.938 kB / 0.6974 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.1675, allocations: 139.2 kB / 0.6975 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.1678, allocations: 0.6809 MB / 0.6982 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.501e-05/0.1679, allocations: 4 kB / 0.6982 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.1679, allocations: 11.44 kB / 0.6982 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1679, allocations: 0 / 0.6982 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of Templates: time 0.003163/0.1711, allocations: 0.8584 MB / 0.699 GB, free: 14.05 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)