Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.6927/0.6927, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.0009597/0.0009597, allocations: 180.2 kB / 187.3 MB, free: 11.87 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.218/1.218, allocations: 221.3 MB / 441.4 MB, free: 4.613 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.0007973/0.0007972, allocations: 101.4 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001695/0.001695, allocations: 275.7 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.746e-05/2.748e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3287, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1021/0.4309, allocations: 109.2 MB / 0.871 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.4311, allocations: 75.95 kB / 0.8711 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.006885/0.438, allocations: 2.739 MB / 0.8737 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4381, allocations: 0 / 0.8737 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.4381, allocations: 4 kB / 0.8737 GB, free: 12.58 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.0002968/0.4384, allocations: 338.4 kB / 0.8741 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.4384, allocations: 12.02 kB / 0.8741 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.4385, allocations: 35.38 kB / 0.8741 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.4385, allocations: 0 / 0.8741 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.4386, allocations: 167.5 kB / 0.8743 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.4386, allocations: 10.42 kB / 0.8743 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.4387, allocations: 0 / 0.8743 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.4388, allocations: 68.19 kB / 0.8743 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.4388, allocations: 4 kB / 0.8743 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.4388, allocations: 4 kB / 0.8743 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4388, allocations: 4 kB / 0.8744 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.635e-05/0.4389, allocations: 12 kB / 0.8744 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.4392, allocations: 256.9 kB / 0.8746 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.843e-05/0.4393, allocations: 46.44 kB / 0.8747 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.006e-05/0.4393, allocations: 16.86 kB / 0.8747 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.4393, allocations: 4 kB / 0.8747 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.4394, allocations: 67.48 kB / 0.8747 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.4395, allocations: 0 / 0.8747 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001436/0.4396, allocations: 61.62 kB / 0.8748 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.4397, allocations: 102.8 kB / 0.8749 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.921e-05/0.4397, allocations: 97 kB / 0.875 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.4397, allocations: 25.7 kB / 0.875 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.4398, allocations: 96.12 kB / 0.8751 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.4398, allocations: 11.75 kB / 0.8751 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-06/0.4398, allocations: 0 / 0.8751 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.453e-05/0.4399, allocations: 323.4 kB / 0.8754 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.257e-05/0.4399, allocations: 8 kB / 0.8754 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.274e-05/0.44, allocations: 34.56 kB / 0.8755 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.818e-05/0.44, allocations: 8 kB / 0.8755 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.44, allocations: 3.938 kB / 0.8755 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.159e-05/0.4401, allocations: 65.66 kB / 0.8755 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.4401, allocations: 4 kB / 0.8755 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.4402, allocations: 0 / 0.8755 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.4402, allocations: 0 / 0.8755 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.98e-05/0.4402, allocations: 8 kB / 0.8755 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.4403, allocations: 3.984 kB / 0.8756 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.159e-05/0.4403, allocations: 8 kB / 0.8756 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.4404, allocations: 0 / 0.8756 GB, free: 10.46 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.931e-05/0.4404, allocations: 116.9 kB / 0.8757 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.4405, allocations: 7.891 kB / 0.8757 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.218e-05/0.4405, allocations: 11.53 kB / 0.8757 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.4405, allocations: 0 / 0.8757 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.4405, allocations: 0 / 0.8757 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.4405, allocations: 0 / 0.8757 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.4406, allocations: 169.6 kB / 0.8759 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4406, allocations: 0 / 0.8759 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.306e-05/0.4407, allocations: 7.984 kB / 0.8759 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4407, allocations: 0 / 0.8759 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.4407, allocations: 4.438 kB / 0.8759 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.4407, allocations: 0 / 0.8759 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.4407, allocations: 7.938 kB / 0.8759 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.4408, allocations: 89.11 kB / 0.876 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.4409, allocations: 88.97 kB / 0.876 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.4409, allocations: 3.984 kB / 0.876 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.276e-05/0.441, allocations: 15.94 kB / 0.8761 GB, free: 9.855 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.441, allocations: 7.984 kB / 0.8761 GB, free: 9.848 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.4411, allocations: 4 kB / 0.8761 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.912e-05/0.4411, allocations: 83.28 kB / 0.8762 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4411, allocations: 0 / 0.8762 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001731/0.4413, allocations: 16 kB / 0.8762 GB, free: 9.746 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.0003606/0.4417, allocations: 0.6319 MB / 0.8768 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.489e-05/0.4418, allocations: 31.98 kB / 0.8768 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4418, allocations: 0 / 0.8768 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.665e-05/0.4418, allocations: 19.88 kB / 0.8768 GB, free: 9.035 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.601e-05/0.4419, allocations: 4 kB / 0.8768 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.4422, allocations: 102.8 kB / 0.8769 GB, free: 8.895 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.4424, allocations: 0.6809 MB / 0.8776 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.432e-05/0.4425, allocations: 12 kB / 0.8776 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.4425, allocations: 15.44 kB / 0.8776 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of SimCode: time 2.11e-07/0.4425, allocations: 0 / 0.8776 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0106/0.4531, allocations: 1.516 MB / 0.8791 GB, free: 6.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.4533, allocations: 189.6 kB / 0.8793 GB, free: 6.613 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.328/1.781, allocations: 2.391 kB / 0.8793 GB, free: 6.613 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)