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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7582/0.7582, allocations: 143.4 MB / 158.3 MB, free: 5.766 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 182.9 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.2 MB / 447.7 MB, free: 6.473 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008673/0.0008672, allocations: 104.2 kB / 0.5188 GB, free: 2.816 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001682/0.001682, allocations: 275.9 kB / 0.6005 GB, free: 48.96 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.000416, allocations: 16 kB / 0.6929 GB, free: 2.277 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3507, allocations: 82.78 MB / 0.7737 GB, free: 26.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.4917, allocations: 109.3 MB / 0.8805 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.4921, allocations: 83.83 kB / 0.8806 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.007584/0.4996, allocations: 2.741 MB / 0.8833 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4997, allocations: 3.938 kB / 0.8833 GB, free: 9.898 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.4997, allocations: 0 / 0.8833 GB, free: 9.898 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004683/0.5002, allocations: 350.1 kB / 0.8836 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5002, allocations: 8.031 kB / 0.8836 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.5003, allocations: 7.906 kB / 0.8836 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.5004, allocations: 171.1 kB / 0.8838 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.5005, allocations: 3.953 kB / 0.8838 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.5005, allocations: 0 / 0.8838 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.5007, allocations: 72.19 kB / 0.8838 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.5007, allocations: 4 kB / 0.8838 GB, free: 9.195 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.5007, allocations: 3.984 kB / 0.8838 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.5007, allocations: 0 / 0.8838 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.925e-05/0.5008, allocations: 12 kB / 0.8839 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.5012, allocations: 264.9 kB / 0.8841 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.489e-05/0.5013, allocations: 42.5 kB / 0.8842 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.5013, allocations: 4 kB / 0.8842 GB, free: 8.816 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.5015, allocations: 59.48 kB / 0.8842 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.5015, allocations: 0 / 0.8842 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0002144/0.5017, allocations: 77.58 kB / 0.8843 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.5018, allocations: 106.8 kB / 0.8844 GB, free: 8.535 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.889e-05/0.5019, allocations: 97 kB / 0.8845 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.5019, allocations: 29.7 kB / 0.8845 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.502, allocations: 80.14 kB / 0.8846 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.502, allocations: 23.77 kB / 0.8846 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.502, allocations: 4 kB / 0.8846 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5022, allocations: 310.8 kB / 0.8849 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.756e-05/0.5022, allocations: 8 kB / 0.8849 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.738e-05/0.5022, allocations: 38.81 kB / 0.885 GB, free: 7.922 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.421e-05/0.5023, allocations: 15.38 kB / 0.885 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5023, allocations: 3.938 kB / 0.885 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001031/0.5024, allocations: 69.62 kB / 0.885 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.5024, allocations: 7.938 kB / 0.885 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5024, allocations: 0 / 0.885 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.5024, allocations: 0 / 0.885 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.156e-05/0.5025, allocations: 11.98 kB / 0.8851 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.5025, allocations: 0 / 0.8851 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.82e-05/0.5026, allocations: 8 kB / 0.8851 GB, free: 7.805 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.5027, allocations: 0 / 0.8851 GB, free: 7.805 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.609e-05/0.5028, allocations: 126.3 kB / 0.8852 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.5028, allocations: 0 / 0.8852 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.5028, allocations: 7.5 kB / 0.8852 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5028, allocations: 0 / 0.8852 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5028, allocations: 0 / 0.8852 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.5028, allocations: 0 / 0.8852 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.503, allocations: 169.6 kB / 0.8854 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.503, allocations: 3.953 kB / 0.8854 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/0.503, allocations: 4 kB / 0.8854 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.503, allocations: 0 / 0.8854 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.503, allocations: 0 / 0.8854 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.503, allocations: 4 kB / 0.8854 GB, free: 7.434 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.503, allocations: 0 / 0.8854 GB, free: 7.434 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.5032, allocations: 97.52 kB / 0.8855 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.5033, allocations: 89.05 kB / 0.8855 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.5033, allocations: 4 kB / 0.8855 GB, free: 7.211 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-05/0.5034, allocations: 11.98 kB / 0.8856 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.5034, allocations: 4 kB / 0.8856 GB, free: 7.195 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.5034, allocations: 0 / 0.8856 GB, free: 7.195 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.714e-05/0.5035, allocations: 95.45 kB / 0.8857 GB, free: 7.102 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.513e-06/0.5035, allocations: 0 / 0.8857 GB, free: 7.102 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001842/0.5037, allocations: 11.94 kB / 0.8857 GB, free: 7.09 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001549/0.5038, allocations: 113 kB / 0.8858 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.504, allocations: 31.92 kB / 0.8858 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.504, allocations: 0 / 0.8858 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.504, allocations: 16 kB / 0.8858 GB, free: 6.926 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/0.5041, allocations: 8.547 kB / 0.8858 GB, free: 6.918 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.5044, allocations: 128.6 kB / 0.8859 GB, free: 6.766 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.5046, allocations: 0.6809 MB / 0.8866 GB, free: 6.059 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.72e-05/0.5047, allocations: 4 kB / 0.8866 GB, free: 6.055 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.5047, allocations: 11.44 kB / 0.8866 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of SimCode: time 4.81e-07/0.5047, allocations: 4 kB / 0.8866 GB, free: 6.039 MB / 0.5417 GB Notification: Performance of Templates: time 0.002603/0.5073, allocations: 0.78 MB / 0.8874 GB, free: 5.297 MB / 0.5417 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)