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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8404/0.8404, allocations: 143.3 MB / 158.3 MB, free: 5.641 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.001016/0.001016, allocations: 181 kB / 191.5 MB, free: 5.656 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.371/1.371, allocations: 223.2 MB / 447.7 MB, free: 4.859 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.0008229/0.000823, allocations: 96.31 kB / 0.5187 GB, free: 1.211 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001684/0.001684, allocations: 273.9 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003873, allocations: 16.25 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1302, allocations: 82.8 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/0.27, allocations: 109.3 MB / 0.8806 GB, free: 292 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.2703, allocations: 79.95 kB / 0.8806 GB, free: 212 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.2836/0.5539, allocations: 2.745 MB / 0.8833 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.226e-06/0.5539, allocations: 0 / 0.8833 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.554, allocations: 1.406 kB / 0.8833 GB, free: 109.3 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.0003283/0.5543, allocations: 348.6 kB / 0.8837 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.5543, allocations: 11.28 kB / 0.8837 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.5544, allocations: 34.22 kB / 0.8837 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.5544, allocations: 5.969 kB / 0.8837 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.164e-05/0.5545, allocations: 169.8 kB / 0.8839 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.5545, allocations: 9.109 kB / 0.8839 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.5546, allocations: 2.719 kB / 0.8839 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.5547, allocations: 66.81 kB / 0.8839 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.5547, allocations: 0 / 0.8839 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.5547, allocations: 3.469 kB / 0.8839 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.5547, allocations: 2.125 kB / 0.8839 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.504e-05/0.5548, allocations: 10.88 kB / 0.884 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.555, allocations: 270.9 kB / 0.8842 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.561e-05/0.5551, allocations: 45.67 kB / 0.8843 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.5551, allocations: 0 / 0.8843 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.5553, allocations: 65.39 kB / 0.8843 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.5553, allocations: 0 / 0.8843 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001726/0.5555, allocations: 78.3 kB / 0.8844 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.5555, allocations: 104.4 kB / 0.8845 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.739e-05/0.5556, allocations: 97.59 kB / 0.8846 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.5556, allocations: 29.7 kB / 0.8846 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.5556, allocations: 89.44 kB / 0.8847 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.5556, allocations: 7.844 kB / 0.8847 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.5556, allocations: 3.875 kB / 0.8847 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.709e-05/0.5557, allocations: 321.4 kB / 0.885 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.5557, allocations: 13.92 kB / 0.885 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-05/0.5558, allocations: 32.34 kB / 0.8851 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.164e-05/0.5558, allocations: 20.56 kB / 0.8851 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.5558, allocations: 0 / 0.8851 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.196e-05/0.5559, allocations: 61.06 kB / 0.8851 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.5559, allocations: 6.438 kB / 0.8851 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.5559, allocations: 0 / 0.8851 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.5559, allocations: 0 / 0.8851 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.149e-05/0.556, allocations: 6.031 kB / 0.8852 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.556, allocations: 0 / 0.8852 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.706e-05/0.5561, allocations: 11.19 kB / 0.8852 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.5561, allocations: 6.625 kB / 0.8852 GB, free: 107.5 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 5.503e-05/0.5562, allocations: 119.6 kB / 0.8853 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.5562, allocations: 1.562 kB / 0.8853 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.935e-05/0.5562, allocations: 7.594 kB / 0.8853 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.5562, allocations: 2.219 kB / 0.8853 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5563, allocations: 0.6875 kB / 0.8853 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.5563, allocations: 3.938 kB / 0.8853 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.207e-05/0.5563, allocations: 168.5 kB / 0.8855 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5563, allocations: 0 / 0.8855 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/0.5564, allocations: 10 kB / 0.8855 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5564, allocations: 0.5938 kB / 0.8855 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.5564, allocations: 2.969 kB / 0.8855 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5564, allocations: 0 / 0.8855 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5564, allocations: 0 / 0.8855 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.5565, allocations: 93.33 kB / 0.8856 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.517e-05/0.5566, allocations: 87.19 kB / 0.8856 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.5566, allocations: 3.25 kB / 0.8856 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.69e-05/0.5567, allocations: 13.19 kB / 0.8857 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.5567, allocations: 2.875 kB / 0.8857 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.5567, allocations: 3.391 kB / 0.8857 GB, free: 107 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.627e-05/0.5568, allocations: 89.02 kB / 0.8857 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.01e-07/0.5568, allocations: 0 / 0.8857 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001811/0.557, allocations: 23.69 kB / 0.8858 GB, free: 106.9 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.0002493/0.5572, allocations: 0.6331 MB / 0.8864 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.311e-05/0.5573, allocations: 32.72 kB / 0.8864 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5573, allocations: 0 / 0.8864 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/0.5574, allocations: 17.91 kB / 0.8864 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001005/0.5575, allocations: 10.61 kB / 0.8864 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.558, allocations: 397.3 kB / 0.8868 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.912e-05/0.5581, allocations: 0.6835 MB / 0.8875 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.26e-05/0.5581, allocations: 2.625 kB / 0.8875 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.5582, allocations: 13.78 kB / 0.8875 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of SimCode: time 2.81e-07/0.5582, allocations: 0 / 0.8875 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.5708, allocations: 1.523 MB / 0.889 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001292/0.571, allocations: 236.5 kB / 0.8892 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.409/1.98, allocations: 2.812 kB / 0.8892 GB, free: 104.9 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)