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.001498/0.001498, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002127/0.002128, allocations: 267.2 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9188/0.9188, allocations: 169.2 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 96.7 kB / 0.5952 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1494, allocations: 86.99 MB / 0.6802 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002415/0.1518, allocations: 1.455 MB / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003855/0.1522, allocations: 183.4 kB / 0.6818 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.1523, allocations: 0 / 0.6818 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.673e-05/0.1523, allocations: 3.938 kB / 0.6818 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.1525, allocations: 23.86 kB / 0.6818 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.1527, allocations: 55.48 kB / 0.6819 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.82e-05/0.1528, allocations: 55.89 kB / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.028e-05/0.1529, allocations: 24.16 kB / 0.6819 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.874e-05/0.1529, allocations: 19.98 kB / 0.682 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.562e-05/0.153, allocations: 15.92 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.153, allocations: 7.938 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.589e-05/0.1531, allocations: 4 kB / 0.682 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.1531, allocations: 23.91 kB / 0.682 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.24e-05/0.1531, allocations: 19.92 kB / 0.682 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.948e-05/0.1532, allocations: 55.8 kB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1532, allocations: 0 / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1532, allocations: 0 / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1533, allocations: 4 kB / 0.6821 GB, free: 14.75 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.0004708/0.1537, allocations: 347.4 kB / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.1538, allocations: 8.031 kB / 0.6824 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.1538, allocations: 12.92 kB / 0.6824 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.1539, allocations: 168.3 kB / 0.6826 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.154, allocations: 4.375 kB / 0.6826 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.154, allocations: 384 / 0.6826 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.1541, allocations: 80.75 kB / 0.6827 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1541, allocations: 192 / 0.6827 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1542, allocations: 3.938 kB / 0.6827 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1542, allocations: 0 / 0.6827 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.259e-05/0.1542, allocations: 19.98 kB / 0.6827 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.1546, allocations: 272.8 kB / 0.683 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.285e-05/0.1547, allocations: 42.56 kB / 0.683 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.325e-05/0.1547, allocations: 12.86 kB / 0.683 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.1547, allocations: 4 kB / 0.683 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.1549, allocations: 63.47 kB / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.1549, allocations: 0 / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001937/0.1551, allocations: 77.72 kB / 0.6831 GB, free: 13.47 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.1551, allocations: 106.8 kB / 0.6832 GB, free: 13.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.025e-05/0.1552, allocations: 105.8 kB / 0.6834 GB, free: 13.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1553, allocations: 25.7 kB / 0.6834 GB, free: 13.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.1553, allocations: 96.02 kB / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.1553, allocations: 7.891 kB / 0.6835 GB, free: 13.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.1554, allocations: 21.72 kB / 0.6835 GB, free: 13.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.1555, allocations: 322.8 kB / 0.6838 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.731e-05/0.1555, allocations: 4 kB / 0.6838 GB, free: 12.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-05/0.1556, allocations: 46.55 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.257e-05/0.1556, allocations: 28.8 kB / 0.6839 GB, free: 12.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1556, allocations: 0 / 0.6839 GB, free: 12.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.565e-05/0.1557, allocations: 58.03 kB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.1558, allocations: 4 kB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1558, allocations: 8 kB / 0.6839 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1558, allocations: 0 / 0.6839 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/0.1558, allocations: 7.938 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1559, allocations: 0 / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.156, allocations: 20.02 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.156, allocations: 0 / 0.684 GB, free: 12.55 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.724e-05/0.1561, allocations: 118.4 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.1561, allocations: 4 kB / 0.6841 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.1561, allocations: 7.5 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1561, allocations: 3.938 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1561, allocations: 0 / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1562, allocations: 0 / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.1563, allocations: 177.6 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1563, allocations: 4 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.198e-05/0.1563, allocations: 4 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1563, allocations: 0 / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1563, allocations: 0 / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1563, allocations: 0 / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1563, allocations: 0 / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.1565, allocations: 96.95 kB / 0.6844 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.1565, allocations: 85.09 kB / 0.6845 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.1566, allocations: 8 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1567, allocations: 7.984 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.1567, allocations: 4 kB / 0.6845 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.1567, allocations: 0 / 0.6845 GB, free: 11.94 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.5e-05/0.1568, allocations: 95.2 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1568, allocations: 3.938 kB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002022/0.157, allocations: 8 kB / 0.6846 GB, free: 11.84 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.975e-05/0.1571, allocations: 103.2 kB / 0.6847 GB, free: 11.72 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001164/0.1572, allocations: 40.17 kB / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1572, allocations: 0 / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.1573, allocations: 15.94 kB / 0.6847 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.1574, allocations: 14.11 kB / 0.6847 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.1577, allocations: 121.5 kB / 0.6849 GB, free: 11.51 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.1579, allocations: 0.6884 MB / 0.6855 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.04e-05/0.158, allocations: 4 kB / 0.6855 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.158, allocations: 15.42 kB / 0.6855 GB, free: 10.78 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.158, allocations: 0 / 0.6855 GB, free: 10.78 MB / 494.1 MB Notification: Performance of Templates: time 0.00268/0.1607, allocations: 0.8842 MB / 0.6864 GB, free: 9.941 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)