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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000791/0.000791, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008265/0.0008265, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001637/0.001637, allocations: 274.7 kB / 291.2 MB, free: 1.895 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7246/0.7246, allocations: 144.6 MB / 487 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 16.19 kB / 0.5683 GB, free: 38.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1237, allocations: 83.08 MB / 0.6494 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001392/0.1251, allocations: 1.14 MB / 0.6505 GB, free: 2.469 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003114/0.1254, allocations: 159.6 kB / 0.6507 GB, free: 2.312 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.1255, allocations: 1.188 kB / 0.6507 GB, free: 2.312 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.1255, allocations: 3.938 kB / 0.6507 GB, free: 2.309 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.1257, allocations: 21.84 kB / 0.6507 GB, free: 2.289 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.1258, allocations: 47.25 kB / 0.6508 GB, free: 2.246 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.021e-05/0.1259, allocations: 27.95 kB / 0.6508 GB, free: 2.219 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.885e-05/0.126, allocations: 11.97 kB / 0.6508 GB, free: 2.207 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.838e-05/0.1261, allocations: 22.47 kB / 0.6508 GB, free: 2.188 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.1261, allocations: 19.91 kB / 0.6508 GB, free: 2.168 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.1262, allocations: 4 kB / 0.6508 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.1262, allocations: 0 / 0.6508 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.1262, allocations: 7.984 kB / 0.6509 GB, free: 2.156 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.1262, allocations: 29.7 kB / 0.6509 GB, free: 2.121 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.039e-05/0.1263, allocations: 32.44 kB / 0.6509 GB, free: 2.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.1263, allocations: 0 / 0.6509 GB, free: 2.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1263, allocations: 0.625 kB / 0.6509 GB, free: 2.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.1263, allocations: 0.5312 kB / 0.6509 GB, free: 2.09 MB / 446.1 MB 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.0004467/0.1268, allocations: 332.6 kB / 0.6512 GB, free: 1.719 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1268, allocations: 9.625 kB / 0.6512 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.1269, allocations: 7.984 kB / 0.6513 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.127, allocations: 167 kB / 0.6514 GB, free: 1.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.127, allocations: 3.953 kB / 0.6514 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.127, allocations: 4.75 kB / 0.6514 GB, free: 1.492 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.1272, allocations: 66.34 kB / 0.6515 GB, free: 1.414 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.1272, allocations: 0 / 0.6515 GB, free: 1.414 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.1272, allocations: 0 / 0.6515 GB, free: 1.414 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1272, allocations: 4 kB / 0.6515 GB, free: 1.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.24e-05/0.1273, allocations: 16.58 kB / 0.6515 GB, free: 1.395 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.1276, allocations: 278.1 kB / 0.6518 GB, free: 1.074 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.622e-05/0.1277, allocations: 39.59 kB / 0.6518 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.1277, allocations: 1.625 kB / 0.6518 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.1279, allocations: 67.47 kB / 0.6519 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.1279, allocations: 0.7188 kB / 0.6519 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001771/0.1281, allocations: 73.61 kB / 0.6519 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.1282, allocations: 104.1 kB / 0.652 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/0.1282, allocations: 101.9 kB / 0.6521 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1283, allocations: 26.36 kB / 0.6522 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.1283, allocations: 96.06 kB / 0.6523 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.1283, allocations: 12.34 kB / 0.6523 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.1283, allocations: 0.5312 kB / 0.6523 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.1284, allocations: 319.4 kB / 0.6526 GB, free: 180 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.467e-05/0.1285, allocations: 12.72 kB / 0.6526 GB, free: 168 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.088e-05/0.1285, allocations: 31.44 kB / 0.6526 GB, free: 128 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.992e-05/0.1285, allocations: 16.91 kB / 0.6526 GB, free: 112 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1286, allocations: 0 / 0.6526 GB, free: 112 kB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.441e-05/0.1286, allocations: 63.66 kB / 0.6527 GB, free: 44 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.1287, allocations: 9.094 kB / 0.6527 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.1287, allocations: 0 / 0.6527 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.1287, allocations: 0 / 0.6527 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.722e-05/0.1287, allocations: 7.984 kB / 0.6527 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1288, allocations: 0.5938 kB / 0.6527 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.1289, allocations: 12.86 kB / 0.6527 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1289, allocations: 4.75 kB / 0.6527 GB, free: 12 kB / 446.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 ($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 8.541e-05/0.129, allocations: 116 kB / 0.6528 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.129, allocations: 4 kB / 0.6528 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.783e-05/0.129, allocations: 3.5 kB / 0.6528 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.129, allocations: 3.938 kB / 0.6528 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.129, allocations: 0 / 0.6528 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.129, allocations: 4 kB / 0.6528 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.1292, allocations: 174.3 kB / 0.653 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1292, allocations: 1.312 kB / 0.653 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.941e-05/0.1292, allocations: 4 kB / 0.653 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.1292, allocations: 3.984 kB / 0.653 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.1292, allocations: 4 kB / 0.653 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1292, allocations: 1 kB / 0.653 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1292, allocations: 0 / 0.653 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.1293, allocations: 88.23 kB / 0.6531 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.1294, allocations: 93.05 kB / 0.6532 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.1294, allocations: 0 / 0.6532 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.821e-05/0.1295, allocations: 17.95 kB / 0.6532 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.1296, allocations: 4 kB / 0.6532 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.1296, allocations: 2.062 kB / 0.6532 GB, free: 15.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.027e-05/0.1296, allocations: 95.27 kB / 0.6533 GB, free: 15.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1296, allocations: 3.938 kB / 0.6533 GB, free: 15.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001756/0.1298, allocations: 12 kB / 0.6533 GB, free: 15.3 MB / 462.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 (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 9.388e-05/0.1299, allocations: 95.88 kB / 0.6534 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 9.586e-05/0.13, allocations: 33.7 kB / 0.6535 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.13, allocations: 0 / 0.6535 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.663e-05/0.1301, allocations: 19.98 kB / 0.6535 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001046/0.1302, allocations: 8.844 kB / 0.6535 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/0.1304, allocations: 128.6 kB / 0.6536 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.1306, allocations: 0.687 MB / 0.6543 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.93e-05/0.1307, allocations: 4 kB / 0.6543 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.1307, allocations: 15.42 kB / 0.6543 GB, free: 14.26 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1307, allocations: 0 / 0.6543 GB, free: 14.26 MB / 462.1 MB Notification: Performance of Templates: time 0.002245/0.133, allocations: 0.7854 MB / 0.6551 GB, free: 13.5 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile Environment - environmentSimulation: (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) Environment - environmentSimulation: