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.7784/0.7784, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009692/0.0009692, allocations: 183.5 kB / 187.3 MB, free: 11.9 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.352/1.352, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0008254/0.0008255, allocations: 92.5 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001681/0.00168, allocations: 265 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.07e-05/5.081e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.4266, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1149/0.5416, allocations: 109.3 MB / 0.871 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.5419, allocations: 83.83 kB / 0.8711 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.007231/0.5492, allocations: 2.748 MB / 0.8737 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5492, allocations: 0 / 0.8737 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.5492, allocations: 0 / 0.8737 GB, free: 12.46 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.0003281/0.5496, allocations: 334.5 kB / 0.8741 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.5496, allocations: 12.03 kB / 0.8741 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.5497, allocations: 4 kB / 0.8741 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.5498, allocations: 167 kB / 0.8742 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.5498, allocations: 3.953 kB / 0.8742 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.5499, allocations: 4 kB / 0.8742 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.55, allocations: 72.19 kB / 0.8743 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.55, allocations: 0 / 0.8743 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.55, allocations: 0 / 0.8743 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.55, allocations: 0 / 0.8743 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.677e-05/0.5501, allocations: 16 kB / 0.8743 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.5504, allocations: 264.9 kB / 0.8746 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.181e-05/0.5505, allocations: 38.52 kB / 0.8746 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.5506, allocations: 20.94 kB / 0.8746 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.308e-06/0.5506, allocations: 0 / 0.8746 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.5507, allocations: 67.39 kB / 0.8747 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.5507, allocations: 0 / 0.8747 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001602/0.5509, allocations: 57.69 kB / 0.8748 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.551, allocations: 110.8 kB / 0.8749 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.936e-05/0.5511, allocations: 96.94 kB / 0.875 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.5511, allocations: 29.7 kB / 0.875 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/0.5511, allocations: 84.12 kB / 0.8751 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.5512, allocations: 15.75 kB / 0.8751 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.5512, allocations: 4 kB / 0.8751 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.5513, allocations: 319.4 kB / 0.8754 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.502e-05/0.5513, allocations: 8 kB / 0.8754 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.66e-05/0.5514, allocations: 42.5 kB / 0.8754 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.913e-05/0.5514, allocations: 8 kB / 0.8754 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5514, allocations: 0 / 0.8754 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.021e-05/0.5515, allocations: 61.62 kB / 0.8755 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.5515, allocations: 8.031 kB / 0.8755 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5516, allocations: 0 / 0.8755 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.5516, allocations: 4 kB / 0.8755 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.5516, allocations: 4 kB / 0.8755 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.5517, allocations: 0 / 0.8755 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.4e-05/0.5518, allocations: 11.98 kB / 0.8755 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.5518, allocations: 0 / 0.8755 GB, free: 10.39 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 () * 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 7.102e-05/0.5518, allocations: 108.9 kB / 0.8756 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.5519, allocations: 19.89 kB / 0.8756 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.5519, allocations: 3.5 kB / 0.8757 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5519, allocations: 4.031 kB / 0.8757 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5519, allocations: 0 / 0.8757 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5519, allocations: 0 / 0.8757 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.5521, allocations: 173.6 kB / 0.8758 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5521, allocations: 0 / 0.8758 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.43e-05/0.5521, allocations: 8.422 kB / 0.8758 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5521, allocations: 0 / 0.8758 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.5521, allocations: 0 / 0.8758 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/0.5521, allocations: 4 kB / 0.8758 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5521, allocations: 4 kB / 0.8758 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.5523, allocations: 85.06 kB / 0.8759 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.5523, allocations: 93.05 kB / 0.876 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.5523, allocations: 0 / 0.876 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.332e-05/0.5524, allocations: 11.98 kB / 0.876 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.5525, allocations: 3.984 kB / 0.876 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.5525, allocations: 8 kB / 0.876 GB, free: 9.777 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.055e-05/0.5525, allocations: 83.28 kB / 0.8761 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5526, allocations: 0 / 0.8761 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001745/0.5527, allocations: 19.91 kB / 0.8761 GB, free: 9.676 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) * 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.0001289/0.5529, allocations: 103.2 kB / 0.8762 GB, free: 9.566 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.553, allocations: 35.88 kB / 0.8763 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.553, allocations: 3.938 kB / 0.8763 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.594e-05/0.553, allocations: 12 kB / 0.8763 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001001/0.5531, allocations: 9.016 kB / 0.8763 GB, free: 9.508 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001988/0.5533, allocations: 75.28 kB / 0.8764 GB, free: 9.414 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.5536, allocations: 0.6809 MB / 0.877 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.783e-05/0.5536, allocations: 12 kB / 0.877 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.5537, allocations: 7.438 kB / 0.877 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.5537, allocations: 0 / 0.877 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of Templates: time 0.002521/0.5562, allocations: 0.7936 MB / 0.8778 GB, free: 7.934 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)