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.001764/0.001764, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00193/0.00193, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002579/0.002579, allocations: 294.5 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.142/1.142, allocations: 178.6 MB / 0.5069 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002743/0.002743, allocations: 102.7 kB / 0.6059 GB, free: 24.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1559, allocations: 89.14 MB / 0.693 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002762/0.1587, allocations: 1.519 MB / 0.6945 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004369/0.1592, allocations: 187.4 kB / 0.6946 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.1592, allocations: 0 / 0.6946 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.1592, allocations: 7.938 kB / 0.6947 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.1595, allocations: 19.84 kB / 0.6947 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.1596, allocations: 49.81 kB / 0.6947 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.842e-05/0.1598, allocations: 59.78 kB / 0.6948 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.13e-05/0.1599, allocations: 4 kB / 0.6948 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.255e-05/0.1599, allocations: 23.98 kB / 0.6948 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.168e-05/0.16, allocations: 27.91 kB / 0.6948 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.16, allocations: 4 kB / 0.6948 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.1601, allocations: 4 kB / 0.6948 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.1601, allocations: 15.92 kB / 0.6949 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.481e-05/0.1601, allocations: 23.92 kB / 0.6949 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.836e-05/0.1602, allocations: 48.08 kB / 0.6949 GB, free: 2.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1602, allocations: 3.938 kB / 0.6949 GB, free: 2.727 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1602, allocations: 0 / 0.6949 GB, free: 2.727 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1603, allocations: 0 / 0.6949 GB, free: 2.727 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.0005788/0.1608, allocations: 355.4 kB / 0.6953 GB, free: 2.328 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1609, allocations: 12.03 kB / 0.6953 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.1609, allocations: 0.9375 kB / 0.6953 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.1611, allocations: 172.3 kB / 0.6954 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1611, allocations: 384 / 0.6954 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.1611, allocations: 4.375 kB / 0.6954 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1613, allocations: 72.81 kB / 0.6955 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1613, allocations: 4.188 kB / 0.6955 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.1613, allocations: 11.88 kB / 0.6955 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1613, allocations: 4 kB / 0.6955 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.505e-05/0.1614, allocations: 15.98 kB / 0.6955 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.1618, allocations: 268.9 kB / 0.6958 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.654e-05/0.1619, allocations: 38.56 kB / 0.6958 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.1619, allocations: 28.88 kB / 0.6959 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.162, allocations: 0 / 0.6959 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.1621, allocations: 59.39 kB / 0.6959 GB, free: 1.523 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1621, allocations: 0 / 0.6959 GB, free: 1.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002138/0.1624, allocations: 69.59 kB / 0.696 GB, free: 1.449 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.316e-05/0.1625, allocations: 110.8 kB / 0.6961 GB, free: 1.316 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.713e-05/0.1626, allocations: 109.8 kB / 0.6962 GB, free: 1.199 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.1626, allocations: 29.7 kB / 0.6962 GB, free: 1.164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.1626, allocations: 92.05 kB / 0.6963 GB, free: 1.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.1627, allocations: 19.75 kB / 0.6963 GB, free: 1.051 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.1627, allocations: 17.72 kB / 0.6964 GB, free: 1.027 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1629, allocations: 322.8 kB / 0.6967 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.006e-05/0.1629, allocations: 8 kB / 0.6967 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.414e-05/0.163, allocations: 30.56 kB / 0.6967 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.602e-05/0.1631, allocations: 32.83 kB / 0.6967 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1631, allocations: 0 / 0.6967 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001147/0.1632, allocations: 65.62 kB / 0.6968 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1632, allocations: 4 kB / 0.6968 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1632, allocations: 0 / 0.6968 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1632, allocations: 0 / 0.6968 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.668e-05/0.1633, allocations: 11.98 kB / 0.6968 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1633, allocations: 0 / 0.6968 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.1634, allocations: 4 kB / 0.6968 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1635, allocations: 12.42 kB / 0.6968 GB, free: 0.5195 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.0001047/0.1636, allocations: 117.8 kB / 0.6969 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.1636, allocations: 0 / 0.6969 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.797e-05/0.1636, allocations: 3.5 kB / 0.6969 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1636, allocations: 4 kB / 0.6969 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1636, allocations: 4 kB / 0.6969 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1636, allocations: 0 / 0.6969 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.1638, allocations: 177.5 kB / 0.6971 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1638, allocations: 0 / 0.6971 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-05/0.1638, allocations: 4 kB / 0.6971 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1639, allocations: 4 kB / 0.6971 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.1639, allocations: 192 / 0.6971 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1639, allocations: 0 / 0.6971 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1639, allocations: 0 / 0.6971 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.164, allocations: 101 kB / 0.6972 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.798e-05/0.1641, allocations: 85.09 kB / 0.6973 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.1642, allocations: 4 kB / 0.6973 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.1643, allocations: 11.98 kB / 0.6973 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.1643, allocations: 4 kB / 0.6973 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.1643, allocations: 0 / 0.6973 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.42e-05/0.1644, allocations: 91.2 kB / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1644, allocations: 0 / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002109/0.1646, allocations: 16 kB / 0.6974 GB, free: 15.81 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.0001101/0.1647, allocations: 99.25 kB / 0.6975 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.1649, allocations: 35.92 kB / 0.6975 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1649, allocations: 8 kB / 0.6976 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.289e-05/0.1649, allocations: 15.98 kB / 0.6976 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.1651, allocations: 7.938 kB / 0.6976 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.1654, allocations: 129.5 kB / 0.6977 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.1657, allocations: 0.6807 MB / 0.6984 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.938e-05/0.1657, allocations: 11.98 kB / 0.6984 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.1658, allocations: 11.44 kB / 0.6984 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1658, allocations: 3.938 kB / 0.6984 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.003266/0.1691, allocations: 0.8803 MB / 0.6993 GB, free: 13.91 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)