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.001054/0.001054, allocations: 104.8 kB / 16.36 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.001002/0.001002, allocations: 199.2 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002152/0.002152, allocations: 293 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9329/0.9329, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 91.23 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.142, allocations: 86.97 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.00258/0.1447, allocations: 1.447 MB / 0.683 GB, free: 6.016 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000404/0.1451, allocations: 191.4 kB / 0.6832 GB, free: 5.828 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.74e-05/0.1451, allocations: 0 / 0.6832 GB, free: 5.828 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.1452, allocations: 7.938 kB / 0.6832 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.1454, allocations: 27.84 kB / 0.6832 GB, free: 5.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.1456, allocations: 59.89 kB / 0.6833 GB, free: 5.734 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.754e-05/0.1457, allocations: 51.84 kB / 0.6833 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.579e-05/0.1458, allocations: 8 kB / 0.6833 GB, free: 5.676 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.358e-05/0.1459, allocations: 23.92 kB / 0.6834 GB, free: 5.652 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/0.1459, allocations: 23.91 kB / 0.6834 GB, free: 5.629 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.146, allocations: 7.938 kB / 0.6834 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.374e-05/0.146, allocations: 8 kB / 0.6834 GB, free: 5.613 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.801e-05/0.146, allocations: 11.92 kB / 0.6834 GB, free: 5.602 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.1461, allocations: 27.86 kB / 0.6834 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.534e-05/0.1462, allocations: 47.8 kB / 0.6835 GB, free: 5.527 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1462, allocations: 4 kB / 0.6835 GB, free: 5.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1462, allocations: 0 / 0.6835 GB, free: 5.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1462, allocations: 0 / 0.6835 GB, free: 5.523 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.0004765/0.1467, allocations: 347.4 kB / 0.6838 GB, free: 5.133 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.1467, allocations: 8.031 kB / 0.6838 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.1468, allocations: 8.938 kB / 0.6838 GB, free: 5.117 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1469, allocations: 172.3 kB / 0.684 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1469, allocations: 4.375 kB / 0.684 GB, free: 4.906 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.1469, allocations: 4.375 kB / 0.684 GB, free: 4.902 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.1471, allocations: 72.75 kB / 0.6841 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1471, allocations: 192 / 0.6841 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1471, allocations: 3.938 kB / 0.6841 GB, free: 4.812 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1471, allocations: 4 kB / 0.6841 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.381e-05/0.1472, allocations: 23.98 kB / 0.6841 GB, free: 4.785 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.1475, allocations: 268.9 kB / 0.6844 GB, free: 4.473 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.027e-05/0.1476, allocations: 42.5 kB / 0.6844 GB, free: 4.422 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.247e-05/0.1477, allocations: 16.86 kB / 0.6844 GB, free: 4.402 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.1477, allocations: 0 / 0.6844 GB, free: 4.402 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.1478, allocations: 67.48 kB / 0.6845 GB, free: 4.324 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.1478, allocations: 0 / 0.6845 GB, free: 4.324 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001976/0.148, allocations: 73.61 kB / 0.6846 GB, free: 4.246 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.1481, allocations: 102.8 kB / 0.6847 GB, free: 4.121 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.277e-05/0.1482, allocations: 105.8 kB / 0.6848 GB, free: 4.008 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1482, allocations: 29.7 kB / 0.6848 GB, free: 3.973 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.1482, allocations: 95.92 kB / 0.6849 GB, free: 3.875 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.1483, allocations: 3.906 kB / 0.6849 GB, free: 3.871 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.1483, allocations: 29.7 kB / 0.6849 GB, free: 3.836 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1484, allocations: 318.8 kB / 0.6852 GB, free: 3.516 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.002e-05/0.1485, allocations: 12 kB / 0.6852 GB, free: 3.504 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.63e-05/0.1485, allocations: 34.56 kB / 0.6853 GB, free: 3.461 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.106e-05/0.1486, allocations: 29.23 kB / 0.6853 GB, free: 3.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1486, allocations: 0 / 0.6853 GB, free: 3.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001018/0.1487, allocations: 65.53 kB / 0.6854 GB, free: 3.359 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1487, allocations: 10.22 kB / 0.6854 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1487, allocations: 0 / 0.6854 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1488, allocations: 0 / 0.6854 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.479e-05/0.1488, allocations: 4 kB / 0.6854 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1488, allocations: 4 kB / 0.6854 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.1489, allocations: 11.98 kB / 0.6854 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.149, allocations: 3.938 kB / 0.6854 GB, free: 3.328 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 9.01e-05/0.1491, allocations: 113.8 kB / 0.6855 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.1491, allocations: 8.172 kB / 0.6855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.1491, allocations: 15.48 kB / 0.6855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1491, allocations: 0 / 0.6855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1491, allocations: 0 / 0.6855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1491, allocations: 0 / 0.6855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.1493, allocations: 173.6 kB / 0.6857 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1493, allocations: 4 kB / 0.6857 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-05/0.1493, allocations: 3.938 kB / 0.6857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1493, allocations: 0 / 0.6857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1493, allocations: 4 kB / 0.6857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1493, allocations: 0 / 0.6857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1493, allocations: 0 / 0.6857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.1495, allocations: 96.95 kB / 0.6858 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.1495, allocations: 85.09 kB / 0.6859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1496, allocations: 0 / 0.6859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.1497, allocations: 15.98 kB / 0.6859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.1497, allocations: 64 / 0.6859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.1497, allocations: 8 kB / 0.6859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.437e-05/0.1498, allocations: 95.2 kB / 0.686 GB, free: 2.617 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1498, allocations: 0 / 0.686 GB, free: 2.617 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001964/0.15, allocations: 8 kB / 0.686 GB, free: 2.609 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.000105/0.1501, allocations: 107.2 kB / 0.6861 GB, free: 2.492 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.1502, allocations: 27.98 kB / 0.6861 GB, free: 2.465 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1502, allocations: 0 / 0.6861 GB, free: 2.465 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.1503, allocations: 16 kB / 0.6861 GB, free: 2.449 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.1504, allocations: 7.938 kB / 0.6861 GB, free: 2.441 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.1507, allocations: 141.5 kB / 0.6863 GB, free: 2.277 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.151, allocations: 0.6768 MB / 0.6869 GB, free: 1.574 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.301e-05/0.151, allocations: 4 kB / 0.6869 GB, free: 1.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.151, allocations: 11.44 kB / 0.687 GB, free: 1.559 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.151, allocations: 0 / 0.687 GB, free: 1.559 MB / 494.1 MB Notification: Performance of Templates: time 0.002875/0.1539, allocations: 0.885 MB / 0.6878 GB, free: 0.7266 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)