Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008155/0.0008155, allocations: 100.2 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.0008136/0.0008136, 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.188/1.188, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001622/0.001622, allocations: 274.7 kB / 291.3 MB, free: 1.906 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.7616/0.7616, allocations: 144.6 MB / 487 MB, free: 7.156 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003781, allocations: 15.41 kB / 0.5683 GB, free: 38.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1274, allocations: 83.09 MB / 0.6494 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.0008041/0.1283, allocations: 416.2 kB / 0.6498 GB, free: 3.148 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1293, allocations: 1.051 MB / 0.6509 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.1293, allocations: 1.344 kB / 0.6509 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.057e-05/0.1293, allocations: 0 / 0.6509 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.372e-05/0.1294, allocations: 3.984 kB / 0.6509 GB, free: 2.078 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001246/0.1295, allocations: 12.95 kB / 0.6509 GB, free: 2.066 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.532e-05/0.1296, allocations: 11.98 kB / 0.6509 GB, free: 2.055 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.871e-05/0.1296, allocations: 9.344 kB / 0.6509 GB, free: 2.047 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.988e-05/0.1297, allocations: 15.92 kB / 0.6509 GB, free: 2.031 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.273e-05/0.1297, allocations: 4 kB / 0.6509 GB, free: 2.027 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.915e-06/0.1298, allocations: 0 / 0.6509 GB, free: 2.027 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.815e-06/0.1298, allocations: 1.312 kB / 0.6509 GB, free: 2.027 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.1298, allocations: 3.984 kB / 0.6509 GB, free: 2.023 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.948e-05/0.1298, allocations: 25.7 kB / 0.6509 GB, free: 1.992 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 3.647e-05/0.1298, allocations: 13.62 kB / 0.651 GB, free: 1.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.1299, allocations: 0 / 0.651 GB, free: 1.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.005e-05/0.1299, allocations: 0 / 0.651 GB, free: 1.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.1299, allocations: 3.938 kB / 0.651 GB, free: 1.977 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.0003198/0.1302, allocations: 326.2 kB / 0.6513 GB, free: 1.613 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.1302, allocations: 8.031 kB / 0.6513 GB, free: 1.605 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.1303, allocations: 8 kB / 0.6513 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.658e-05/0.1304, allocations: 159.1 kB / 0.6514 GB, free: 1.402 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1304, allocations: 7.891 kB / 0.6514 GB, free: 1.395 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-06/0.1304, allocations: 0.5 kB / 0.6514 GB, free: 1.395 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.298e-05/0.1305, allocations: 46.27 kB / 0.6515 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.1305, allocations: 0.75 kB / 0.6515 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.1305, allocations: 0 / 0.6515 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.1305, allocations: 1.188 kB / 0.6515 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.592e-05/0.1306, allocations: 12 kB / 0.6515 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.1309, allocations: 254 kB / 0.6517 GB, free: 1.035 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.131, allocations: 47.84 kB / 0.6518 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.131, allocations: 0 / 0.6518 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.131, allocations: 31.81 kB / 0.6518 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.1311, allocations: 0 / 0.6518 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.00014/0.1312, allocations: 58.31 kB / 0.6519 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.1312, allocations: 52.03 kB / 0.6519 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.632e-05/0.1313, allocations: 90.8 kB / 0.652 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.1313, allocations: 25.7 kB / 0.652 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.231e-05/0.1313, allocations: 82.14 kB / 0.6521 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.1314, allocations: 15.83 kB / 0.6521 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.1314, allocations: 0 / 0.6521 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.1315, allocations: 314.8 kB / 0.6524 GB, free: 280 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.1315, allocations: 4.594 kB / 0.6524 GB, free: 276 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-06/0.1315, allocations: 5.375 kB / 0.6524 GB, free: 272 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.1315, allocations: 11.98 kB / 0.6525 GB, free: 260 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1315, allocations: 3.953 kB / 0.6525 GB, free: 256 kB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.402e-05/0.1316, allocations: 49.62 kB / 0.6525 GB, free: 200 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/0.1316, allocations: 4.719 kB / 0.6525 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1316, allocations: 4 kB / 0.6525 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.1316, allocations: 0.7188 kB / 0.6525 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.989e-05/0.1317, allocations: 4 kB / 0.6525 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.1317, allocations: 0.6875 kB / 0.6525 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.418e-05/0.1317, allocations: 5.031 kB / 0.6525 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1318, allocations: 3.984 kB / 0.6525 GB, free: 180 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.361e-05/0.1318, allocations: 111.5 kB / 0.6526 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.1318, allocations: 7.859 kB / 0.6526 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.132, allocations: 78.31 kB / 0.6527 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.132, allocations: 0 / 0.6527 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.132, allocations: 0 / 0.6527 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.132, allocations: 4.703 kB / 0.6527 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.1322, allocations: 157.7 kB / 0.6529 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1322, allocations: 0.7812 kB / 0.6529 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.896e-05/0.1322, allocations: 11.95 kB / 0.6529 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1322, allocations: 0.75 kB / 0.6529 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1322, allocations: 7.922 kB / 0.6529 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1322, allocations: 2 kB / 0.6529 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1322, allocations: 4 kB / 0.6529 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.1324, allocations: 159.6 kB / 0.653 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.1324, allocations: 81.61 kB / 0.6531 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.1324, allocations: 6.078 kB / 0.6531 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.762e-05/0.1325, allocations: 0 / 0.6531 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.1325, allocations: 7.938 kB / 0.6531 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1325, allocations: 3.984 kB / 0.6531 GB, free: 15.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.021e-05/0.1325, allocations: 75.31 kB / 0.6532 GB, free: 15.38 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1325, allocations: 0.5 kB / 0.6532 GB, free: 15.38 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002129/0.1328, allocations: 12.53 kB / 0.6532 GB, free: 15.37 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 8.403e-05/0.1329, allocations: 100.5 kB / 0.6533 GB, free: 15.26 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 7.838e-05/0.1329, allocations: 19.98 kB / 0.6533 GB, free: 15.24 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.1329, allocations: 5.062 kB / 0.6533 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.514e-05/0.133, allocations: 19.88 kB / 0.6534 GB, free: 15.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001108/0.1331, allocations: 12.31 kB / 0.6534 GB, free: 15.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002139/0.1333, allocations: 124.8 kB / 0.6535 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.1335, allocations: 0.6809 MB / 0.6542 GB, free: 14.35 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.79e-05/0.1336, allocations: 2.094 kB / 0.6542 GB, free: 14.35 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.1336, allocations: 15.42 kB / 0.6542 GB, free: 14.34 MB / 462.1 MB Notification: Performance of SimCode: time 2e-07/0.1336, allocations: 0 / 0.6542 GB, free: 14.34 MB / 462.1 MB Notification: Performance of Templates: time 0.001747/0.1354, allocations: 330.7 kB / 0.6545 GB, free: 14.05 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) Environment - environmentSimulation: