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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 108.7 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.341/1.341, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002329/0.002329, allocations: 277.1 kB / 309.1 MB, free: 3.973 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.119/1.119, allocations: 180.9 MB / 0.5333 GB, free: 13.8 MB / 382.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002616/0.002616, allocations: 101.7 kB / 0.7343 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1463, allocations: 95.34 MB / 0.8274 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002433/0.1488, allocations: 1.475 MB / 0.8288 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003967/0.1492, allocations: 201 kB / 0.829 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.1492, allocations: 0 / 0.829 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.1492, allocations: 7.984 kB / 0.829 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.1494, allocations: 15.86 kB / 0.829 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.1496, allocations: 60.97 kB / 0.8291 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.679e-05/0.1497, allocations: 59.84 kB / 0.8291 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.816e-05/0.1497, allocations: 7.875 kB / 0.8291 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.169e-05/0.1498, allocations: 27.97 kB / 0.8292 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.777e-05/0.1499, allocations: 19.92 kB / 0.8292 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.1499, allocations: 4 kB / 0.8292 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.1499, allocations: 4 kB / 0.8292 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.1499, allocations: 19.92 kB / 0.8292 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.15, allocations: 23.91 kB / 0.8292 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.777e-05/0.15, allocations: 43.88 kB / 0.8293 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1501, allocations: 0 / 0.8293 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.41e-07/0.1501, allocations: 0 / 0.8293 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.1501, allocations: 0 / 0.8293 GB, free: 7.891 MB / 0.5762 GB 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.0004858/0.1505, allocations: 347.4 kB / 0.8296 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.1506, allocations: 12.03 kB / 0.8296 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.934e-05/0.1506, allocations: 34.73 kB / 0.8297 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.1506, allocations: 8.938 kB / 0.8297 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.1508, allocations: 176.2 kB / 0.8298 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1508, allocations: 4.375 kB / 0.8298 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1508, allocations: 384 / 0.8298 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.1509, allocations: 72.81 kB / 0.8299 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.151, allocations: 3.938 kB / 0.8299 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.151, allocations: 4 kB / 0.8299 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.151, allocations: 0 / 0.8299 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.247e-05/0.151, allocations: 23.92 kB / 0.8299 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.1514, allocations: 276.8 kB / 0.8302 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.669e-05/0.1514, allocations: 34.58 kB / 0.8302 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.1515, allocations: 20.94 kB / 0.8303 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.1515, allocations: 0 / 0.8303 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/0.1516, allocations: 67.33 kB / 0.8303 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1516, allocations: 0 / 0.8303 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001982/0.1518, allocations: 77.62 kB / 0.8304 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.1519, allocations: 106.8 kB / 0.8305 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.382e-05/0.152, allocations: 109.8 kB / 0.8306 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.152, allocations: 29.7 kB / 0.8306 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.152, allocations: 88.12 kB / 0.8307 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.1521, allocations: 7.906 kB / 0.8307 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.1521, allocations: 29.7 kB / 0.8307 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1522, allocations: 314.8 kB / 0.831 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.026e-05/0.1522, allocations: 15.94 kB / 0.8311 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.238e-05/0.1523, allocations: 34.56 kB / 0.8311 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.114e-05/0.1524, allocations: 24.86 kB / 0.8311 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1524, allocations: 0 / 0.8311 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.765e-05/0.1524, allocations: 57.69 kB / 0.8312 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1525, allocations: 8.031 kB / 0.8312 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1525, allocations: 0 / 0.8312 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1525, allocations: 0 / 0.8312 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.018e-05/0.1525, allocations: 11.92 kB / 0.8312 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1525, allocations: 7.984 kB / 0.8312 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.1526, allocations: 13.61 kB / 0.8312 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1527, allocations: 0 / 0.8312 GB, free: 5.641 MB / 0.5762 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 (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 8.52e-05/0.1527, allocations: 117.8 kB / 0.8313 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.1528, allocations: 7.953 kB / 0.8313 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.802e-05/0.1528, allocations: 11.5 kB / 0.8313 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.1528, allocations: 0 / 0.8313 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1528, allocations: 0 / 0.8313 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1528, allocations: 0 / 0.8313 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.1529, allocations: 174 kB / 0.8315 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1529, allocations: 4 kB / 0.8315 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/0.1529, allocations: 0 / 0.8315 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1529, allocations: 4 kB / 0.8315 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1529, allocations: 4 kB / 0.8315 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1529, allocations: 0 / 0.8315 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1529, allocations: 0 / 0.8315 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.1531, allocations: 96.98 kB / 0.8316 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.913e-05/0.1531, allocations: 85.09 kB / 0.8317 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.1532, allocations: 3.938 kB / 0.8317 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1533, allocations: 11.98 kB / 0.8317 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.1533, allocations: 7.938 kB / 0.8317 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.1533, allocations: 7.984 kB / 0.8317 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.118e-05/0.1534, allocations: 87.28 kB / 0.8318 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1534, allocations: 0 / 0.8318 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001817/0.1535, allocations: 11.95 kB / 0.8318 GB, free: 4.922 MB / 0.5762 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 (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.0004118/0.1539, allocations: 0.628 MB / 0.8324 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.1541, allocations: 27.98 kB / 0.8325 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1541, allocations: 4 kB / 0.8325 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.919e-05/0.1541, allocations: 12 kB / 0.8325 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.1542, allocations: 7.984 kB / 0.8325 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.1553, allocations: 1.177 MB / 0.8336 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.1555, allocations: 0.6807 MB / 0.8343 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.189e-05/0.1556, allocations: 8.328 kB / 0.8343 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.1556, allocations: 18.67 kB / 0.8343 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1556, allocations: 4 kB / 0.8343 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.1803, allocations: 1.792 MB / 0.8361 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.375/7.555, allocations: 8.547 kB / 0.8361 GB, free: 0.5859 MB / 0.5762 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.34126865491271] Failed to read output from testmodel.py, exit status != 0: 7.616397414822131 7.629477115 7.476952443 Calling exit ...