Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000847/0.000847, allocations: 100 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.0008496/0.0008496, allocations: 177.3 kB / 15.95 MB, free: 216 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.187/1.187, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001679/0.001679, allocations: 274.8 kB / 291.3 MB, free: 1.992 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.7187/0.7187, allocations: 144.6 MB / 487 MB, free: 7.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003733, allocations: 19.45 kB / 0.5683 GB, free: 38.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1209, allocations: 83.08 MB / 0.6494 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001331/0.1222, allocations: 1.14 MB / 0.6506 GB, free: 2.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003203/0.1226, allocations: 156.2 kB / 0.6507 GB, free: 2.277 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.1226, allocations: 6.062 kB / 0.6507 GB, free: 2.273 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.236e-05/0.1226, allocations: 3.938 kB / 0.6507 GB, free: 2.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.1228, allocations: 19.95 kB / 0.6507 GB, free: 2.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.123, allocations: 51.23 kB / 0.6508 GB, free: 2.203 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.683e-05/0.123, allocations: 28.62 kB / 0.6508 GB, free: 2.176 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.704e-05/0.1231, allocations: 11.44 kB / 0.6508 GB, free: 2.168 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.576e-05/0.1232, allocations: 19.91 kB / 0.6508 GB, free: 2.148 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.204e-05/0.1232, allocations: 19.92 kB / 0.6509 GB, free: 2.129 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.1232, allocations: 0 / 0.6509 GB, free: 2.129 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.1233, allocations: 4 kB / 0.6509 GB, free: 2.125 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.1233, allocations: 7.984 kB / 0.6509 GB, free: 2.117 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.1233, allocations: 29.7 kB / 0.6509 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.865e-05/0.1234, allocations: 31.94 kB / 0.6509 GB, free: 2.051 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.1234, allocations: 0 / 0.6509 GB, free: 2.051 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1234, allocations: 0.625 kB / 0.6509 GB, free: 2.051 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.855e-06/0.1234, allocations: 0 / 0.6509 GB, free: 2.051 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.0004022/0.1238, allocations: 337 kB / 0.6512 GB, free: 1.676 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.654e-05/0.1238, allocations: 8.531 kB / 0.6513 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.1239, allocations: 0.5312 kB / 0.6513 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.124, allocations: 171 kB / 0.6514 GB, free: 1.461 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.124, allocations: 10.34 kB / 0.6514 GB, free: 1.453 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.124, allocations: 7.984 kB / 0.6514 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.1242, allocations: 64.27 kB / 0.6515 GB, free: 1.367 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1242, allocations: 0.5 kB / 0.6515 GB, free: 1.367 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1242, allocations: 0 / 0.6515 GB, free: 1.367 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1242, allocations: 0.75 kB / 0.6515 GB, free: 1.367 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.597e-05/0.1243, allocations: 15.98 kB / 0.6515 GB, free: 1.352 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.1246, allocations: 275 kB / 0.6518 GB, free: 1.035 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.664e-05/0.1247, allocations: 39.22 kB / 0.6518 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/0.1247, allocations: 0.7188 kB / 0.6518 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.1249, allocations: 64.73 kB / 0.6519 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.1249, allocations: 0 / 0.6519 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001791/0.125, allocations: 73.61 kB / 0.6519 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.1251, allocations: 111.4 kB / 0.6521 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.61e-05/0.1252, allocations: 102.9 kB / 0.6521 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.1252, allocations: 29.7 kB / 0.6522 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.1252, allocations: 80.83 kB / 0.6523 GB, free: 488 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.1253, allocations: 20.56 kB / 0.6523 GB, free: 468 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.1253, allocations: 4 kB / 0.6523 GB, free: 464 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.763e-05/0.1254, allocations: 323.8 kB / 0.6526 GB, free: 132 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.281e-05/0.1254, allocations: 8 kB / 0.6526 GB, free: 124 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.434e-05/0.1254, allocations: 39.94 kB / 0.6526 GB, free: 76 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.816e-05/0.1255, allocations: 11.94 kB / 0.6526 GB, free: 64 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1255, allocations: 2.562 kB / 0.6526 GB, free: 64 kB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.476e-05/0.1256, allocations: 57.69 kB / 0.6527 GB, free: 0 / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.1256, allocations: 4.047 kB / 0.6527 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1256, allocations: 0 / 0.6527 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.1256, allocations: 0 / 0.6527 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.844e-05/0.1257, allocations: 8 kB / 0.6527 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1257, allocations: 0 / 0.6527 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.1258, allocations: 14.66 kB / 0.6527 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1258, allocations: 0 / 0.6527 GB, free: 15.98 MB / 462.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 7.645e-05/0.1259, allocations: 119.8 kB / 0.6528 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.1259, allocations: 0 / 0.6528 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.1259, allocations: 15.48 kB / 0.6529 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.126, allocations: 0 / 0.6529 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.126, allocations: 4.625 kB / 0.6529 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.126, allocations: 0 / 0.6529 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.1261, allocations: 175.1 kB / 0.653 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1261, allocations: 0 / 0.653 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.065e-05/0.1261, allocations: 4 kB / 0.653 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1261, allocations: 0 / 0.653 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1261, allocations: 9.078 kB / 0.653 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1261, allocations: 0 / 0.653 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1261, allocations: 1.312 kB / 0.653 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.1263, allocations: 88.64 kB / 0.6531 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.1263, allocations: 93.05 kB / 0.6532 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.1263, allocations: 4 kB / 0.6532 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1264, allocations: 7.984 kB / 0.6532 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.1265, allocations: 7.984 kB / 0.6532 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.1265, allocations: 4 kB / 0.6532 GB, free: 15.37 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.808e-05/0.1265, allocations: 83.28 kB / 0.6533 GB, free: 15.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.064e-06/0.1265, allocations: 4.719 kB / 0.6533 GB, free: 15.28 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001812/0.1267, allocations: 15.94 kB / 0.6533 GB, free: 15.27 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.761e-05/0.1268, allocations: 104.3 kB / 0.6534 GB, free: 15.15 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 9.341e-05/0.1269, allocations: 32.02 kB / 0.6535 GB, free: 15.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.127, allocations: 4 kB / 0.6535 GB, free: 15.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.485e-05/0.127, allocations: 12 kB / 0.6535 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.403e-05/0.1271, allocations: 0 / 0.6535 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/0.1273, allocations: 132.6 kB / 0.6536 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.1276, allocations: 0.6867 MB / 0.6543 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.257e-05/0.1276, allocations: 12 kB / 0.6543 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.1276, allocations: 7.438 kB / 0.6543 GB, free: 14.22 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1276, allocations: 0 / 0.6543 GB, free: 14.22 MB / 462.1 MB Notification: Performance of Templates: time 0.002424/0.1301, allocations: 0.7847 MB / 0.6551 GB, free: 13.48 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) Environment - environmentSimulation: