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.001691/0.001691, allocations: 100.6 kB / 16.36 MB, free: 6.441 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.001668/0.001668, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.598/1.598, 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.002385/0.002385, allocations: 287.6 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.019/1.019, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 89.64 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2611, allocations: 86.99 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003342/0.2645, allocations: 1.458 MB / 0.683 GB, free: 5.996 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000553/0.2651, allocations: 191.4 kB / 0.6832 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.381e-05/0.2652, allocations: 0 / 0.6832 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.178e-05/0.2652, allocations: 0 / 0.6832 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002895/0.2655, allocations: 19.88 kB / 0.6832 GB, free: 5.789 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.2658, allocations: 59.84 kB / 0.6833 GB, free: 5.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.2659, allocations: 55.83 kB / 0.6833 GB, free: 5.676 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.2661, allocations: 15.94 kB / 0.6834 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.85e-05/0.2662, allocations: 19.98 kB / 0.6834 GB, free: 5.641 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.2663, allocations: 19.92 kB / 0.6834 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.2663, allocations: 4 kB / 0.6834 GB, free: 5.617 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.767e-05/0.2663, allocations: 4 kB / 0.6834 GB, free: 5.613 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.2664, allocations: 19.91 kB / 0.6834 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.2665, allocations: 19.92 kB / 0.6834 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.2666, allocations: 51.8 kB / 0.6835 GB, free: 5.523 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.2666, allocations: 4 kB / 0.6835 GB, free: 5.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.079e-06/0.2666, allocations: 4 kB / 0.6835 GB, free: 5.516 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.2666, allocations: 3.938 kB / 0.6835 GB, free: 5.512 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.0007157/0.2674, allocations: 347.4 kB / 0.6838 GB, free: 5.121 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.2674, allocations: 8.031 kB / 0.6838 GB, free: 5.113 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.2675, allocations: 8.938 kB / 0.6839 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.2676, allocations: 172.3 kB / 0.684 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.2677, allocations: 384 / 0.684 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.2677, allocations: 4.375 kB / 0.684 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.2679, allocations: 72.81 kB / 0.6841 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2679, allocations: 192 / 0.6841 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.2679, allocations: 7.938 kB / 0.6841 GB, free: 4.801 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.2679, allocations: 4 kB / 0.6841 GB, free: 4.797 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.397e-05/0.268, allocations: 23.91 kB / 0.6841 GB, free: 4.773 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.2685, allocations: 264.9 kB / 0.6844 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.2686, allocations: 42.56 kB / 0.6844 GB, free: 4.414 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/0.2686, allocations: 24.88 kB / 0.6844 GB, free: 4.387 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.2686, allocations: 3.938 kB / 0.6844 GB, free: 4.383 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.2688, allocations: 63.39 kB / 0.6845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.2688, allocations: 0 / 0.6845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002386/0.2691, allocations: 65.69 kB / 0.6846 GB, free: 4.238 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.371e-05/0.2692, allocations: 106.8 kB / 0.6847 GB, free: 4.109 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.2693, allocations: 105.9 kB / 0.6848 GB, free: 3.996 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.2693, allocations: 37.58 kB / 0.6848 GB, free: 3.953 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.2694, allocations: 95.97 kB / 0.6849 GB, free: 3.855 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.2694, allocations: 3.906 kB / 0.6849 GB, free: 3.852 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.2695, allocations: 21.72 kB / 0.6849 GB, free: 3.824 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2697, allocations: 322.8 kB / 0.6852 GB, free: 3.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.066e-05/0.2697, allocations: 12 kB / 0.6852 GB, free: 3.488 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.227e-05/0.2698, allocations: 34.56 kB / 0.6853 GB, free: 3.445 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.269e-05/0.2698, allocations: 24.86 kB / 0.6853 GB, free: 3.418 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2698, allocations: 0 / 0.6853 GB, free: 3.418 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001027/0.2699, allocations: 61.97 kB / 0.6854 GB, free: 3.352 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.27, allocations: 4 kB / 0.6854 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.27, allocations: 8 kB / 0.6854 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.27, allocations: 0 / 0.6854 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.2701, allocations: 7.984 kB / 0.6854 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2701, allocations: 4 kB / 0.6854 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.2702, allocations: 12.03 kB / 0.6854 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.2702, allocations: 3.984 kB / 0.6854 GB, free: 3.312 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.0001097/0.2703, allocations: 117.8 kB / 0.6855 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.2704, allocations: 4 kB / 0.6855 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.2704, allocations: 3.5 kB / 0.6855 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2704, allocations: 0 / 0.6855 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2704, allocations: 0 / 0.6855 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2704, allocations: 0 / 0.6855 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.2706, allocations: 177.6 kB / 0.6857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2706, allocations: 8 kB / 0.6857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.2706, allocations: 0 / 0.6857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.2706, allocations: 0 / 0.6857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.2706, allocations: 4 kB / 0.6857 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2706, allocations: 0 / 0.6857 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2706, allocations: 0 / 0.6857 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.2708, allocations: 96.89 kB / 0.6858 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.106e-05/0.2709, allocations: 85.09 kB / 0.6859 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.2709, allocations: 8 kB / 0.6859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.271, allocations: 11.98 kB / 0.6859 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.2711, allocations: 3.938 kB / 0.6859 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.2711, allocations: 8.172 kB / 0.6859 GB, free: 2.695 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.923e-05/0.2712, allocations: 87.27 kB / 0.686 GB, free: 2.609 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2712, allocations: 0 / 0.686 GB, free: 2.609 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001896/0.2714, allocations: 8 kB / 0.686 GB, free: 2.602 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.0001519/0.2715, allocations: 109.6 kB / 0.6861 GB, free: 2.484 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.2717, allocations: 40.11 kB / 0.6861 GB, free: 2.445 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2717, allocations: 0 / 0.6861 GB, free: 2.445 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.724e-05/0.2717, allocations: 19.98 kB / 0.6862 GB, free: 2.426 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.2719, allocations: 4.688 kB / 0.6862 GB, free: 2.422 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.2723, allocations: 129.5 kB / 0.6863 GB, free: 2.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.2726, allocations: 0.6768 MB / 0.6869 GB, free: 1.566 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.129e-05/0.2726, allocations: 8 kB / 0.687 GB, free: 1.559 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.2727, allocations: 15.42 kB / 0.687 GB, free: 1.543 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2727, allocations: 0 / 0.687 GB, free: 1.543 MB / 494.1 MB Notification: Performance of Templates: time 0.003659/0.2763, allocations: 0.8854 MB / 0.6878 GB, free: 0.707 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)