Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 108.5 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 193.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7377/0.7377, allocations: 122.9 MB / 414.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001206, allocations: 59.31 kB / 0.568 GB, free: 28.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1228, allocations: 77.94 MB / 0.6441 GB, free: 9.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002243/0.1251, allocations: 1.433 MB / 0.6455 GB, free: 8.129 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003918/0.1255, allocations: 191.4 kB / 0.6457 GB, free: 7.941 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.1255, allocations: 4 kB / 0.6457 GB, free: 7.938 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.1256, allocations: 7.922 kB / 0.6457 GB, free: 7.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.1258, allocations: 23.86 kB / 0.6457 GB, free: 7.906 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.1259, allocations: 58.59 kB / 0.6457 GB, free: 7.852 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000101/0.126, allocations: 59.83 kB / 0.6458 GB, free: 7.793 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.371e-05/0.1261, allocations: 4 kB / 0.6458 GB, free: 7.789 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.295e-05/0.1262, allocations: 27.92 kB / 0.6458 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.161e-05/0.1263, allocations: 27.91 kB / 0.6459 GB, free: 7.734 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.1263, allocations: 4 kB / 0.6459 GB, free: 7.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.1263, allocations: 4 kB / 0.6459 GB, free: 7.727 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.474e-05/0.1263, allocations: 7.984 kB / 0.6459 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.1264, allocations: 27.86 kB / 0.6459 GB, free: 7.691 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.586e-05/0.1265, allocations: 48.08 kB / 0.6459 GB, free: 7.645 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1265, allocations: 4 kB / 0.646 GB, free: 7.641 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1265, allocations: 0 / 0.646 GB, free: 7.641 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1265, allocations: 0 / 0.646 GB, free: 7.641 MB / 494.1 MB 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.0004834/0.127, allocations: 351.4 kB / 0.6463 GB, free: 7.246 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.127, allocations: 8.625 kB / 0.6463 GB, free: 7.238 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.593e-05/0.1271, allocations: 38.73 kB / 0.6463 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.1271, allocations: 4.891 kB / 0.6463 GB, free: 7.188 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.1273, allocations: 176.3 kB / 0.6465 GB, free: 6.977 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.1273, allocations: 384 / 0.6465 GB, free: 6.977 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.1273, allocations: 4.375 kB / 0.6465 GB, free: 6.973 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1274, allocations: 68.81 kB / 0.6466 GB, free: 6.891 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.1275, allocations: 11.94 kB / 0.6466 GB, free: 6.879 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.1275, allocations: 4 kB / 0.6466 GB, free: 6.875 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1275, allocations: 0 / 0.6466 GB, free: 6.875 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.183e-05/0.1275, allocations: 15.98 kB / 0.6466 GB, free: 6.859 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.1279, allocations: 276.8 kB / 0.6469 GB, free: 6.539 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.587e-05/0.128, allocations: 38.56 kB / 0.6469 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.128, allocations: 28.88 kB / 0.6469 GB, free: 6.461 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.68e-06/0.128, allocations: 0 / 0.6469 GB, free: 6.461 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.1282, allocations: 67.33 kB / 0.647 GB, free: 6.383 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.1282, allocations: 0 / 0.647 GB, free: 6.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001971/0.1284, allocations: 65.69 kB / 0.6471 GB, free: 6.312 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.1285, allocations: 110.8 kB / 0.6472 GB, free: 6.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.362e-05/0.1285, allocations: 105.9 kB / 0.6473 GB, free: 6.066 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1286, allocations: 25.7 kB / 0.6473 GB, free: 6.035 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.1286, allocations: 100 kB / 0.6474 GB, free: 5.934 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.1286, allocations: 7.953 kB / 0.6474 GB, free: 5.926 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.1287, allocations: 17.72 kB / 0.6474 GB, free: 5.902 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1288, allocations: 326.8 kB / 0.6477 GB, free: 5.574 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.92e-05/0.1288, allocations: 8 kB / 0.6477 GB, free: 5.566 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-05/0.1289, allocations: 34.5 kB / 0.6478 GB, free: 5.523 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.301e-05/0.129, allocations: 28.89 kB / 0.6478 GB, free: 5.492 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.129, allocations: 0 / 0.6478 GB, free: 5.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001072/0.1291, allocations: 61.64 kB / 0.6479 GB, free: 5.426 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.1291, allocations: 4 kB / 0.6479 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1291, allocations: 0 / 0.6479 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.1291, allocations: 0 / 0.6479 GB, free: 5.422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.295e-05/0.1292, allocations: 11.98 kB / 0.6479 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1292, allocations: 0 / 0.6479 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.1293, allocations: 8 kB / 0.6479 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1293, allocations: 11.92 kB / 0.6479 GB, free: 5.391 MB / 494.1 MB 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.027e-05/0.1294, allocations: 121.8 kB / 0.648 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.1294, allocations: 0 / 0.648 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.844e-05/0.1295, allocations: 3.688 kB / 0.648 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1295, allocations: 4 kB / 0.648 GB, free: 5.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1295, allocations: 3.984 kB / 0.648 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1295, allocations: 0 / 0.648 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.1296, allocations: 177.5 kB / 0.6482 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1296, allocations: 0 / 0.6482 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/0.1296, allocations: 4 kB / 0.6482 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1297, allocations: 0 / 0.6482 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.1297, allocations: 4.438 kB / 0.6482 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1297, allocations: 0 / 0.6482 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1297, allocations: 4 kB / 0.6482 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.1298, allocations: 100.9 kB / 0.6483 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.1299, allocations: 81.09 kB / 0.6484 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.1299, allocations: 8 kB / 0.6484 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.13, allocations: 7.984 kB / 0.6484 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.1301, allocations: 11.94 kB / 0.6484 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.1301, allocations: 0 / 0.6484 GB, free: 4.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.136e-05/0.1301, allocations: 87.27 kB / 0.6485 GB, free: 4.684 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1301, allocations: 3.938 kB / 0.6485 GB, free: 4.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001984/0.1303, allocations: 12 kB / 0.6485 GB, free: 4.668 MB / 494.1 MB 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.000395/0.1307, allocations: 0.6358 MB / 0.6491 GB, free: 4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.1309, allocations: 35.92 kB / 0.6491 GB, free: 3.965 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1309, allocations: 0 / 0.6491 GB, free: 3.965 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.833e-05/0.1309, allocations: 12 kB / 0.6492 GB, free: 3.953 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.1311, allocations: 4 kB / 0.6492 GB, free: 3.949 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009826/0.1321, allocations: 1.166 MB / 0.6503 GB, free: 2.703 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.1323, allocations: 0.6845 MB / 0.651 GB, free: 1.992 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.598e-05/0.1323, allocations: 4 kB / 0.651 GB, free: 1.988 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.1324, allocations: 15.42 kB / 0.651 GB, free: 1.973 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1324, allocations: 0 / 0.651 GB, free: 1.973 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.1493, allocations: 1.774 MB / 0.6527 GB, free: 356 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.091/7.24, allocations: 12 kB / 0.6527 GB, free: 344 kB / 494.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)