Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.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.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") translateModel(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008403/0.0008404, 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.0008624/0.0008624, 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.16/1.16, 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.001648/0.001648, allocations: 254.7 kB / 291.2 MB, free: 2.008 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.7142/0.7142, allocations: 144.6 MB / 487 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003651, allocations: 13.66 kB / 0.5683 GB, free: 38.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1247, allocations: 83.08 MB / 0.6494 GB, free: 3.641 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.002605/0.1274, allocations: 2.514 MB / 0.6519 GB, free: 1.109 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003341/0.1307, allocations: 2.934 MB / 0.6547 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.1308, allocations: 0.7188 kB / 0.6547 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.131, allocations: 43.64 kB / 0.6548 GB, free: 14.14 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006576/0.1317, allocations: 377.7 kB / 0.6551 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.1322, allocations: 296.3 kB / 0.6554 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003859/0.1326, allocations: 405.2 kB / 0.6558 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.1328, allocations: 103.4 kB / 0.6559 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.133, allocations: 236.6 kB / 0.6561 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003402/0.1334, allocations: 267 kB / 0.6564 GB, free: 12.49 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.178e-05/0.1334, allocations: 24 kB / 0.6564 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005938/0.134, allocations: 457.9 kB / 0.6568 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.1342, allocations: 119.6 kB / 0.657 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.486e-05/0.1343, allocations: 109.5 kB / 0.6571 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006245/0.1349, allocations: 0.6978 MB / 0.6577 GB, free: 11.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.1349, allocations: 3.938 kB / 0.6577 GB, free: 11.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1349, allocations: 0.625 kB / 0.6577 GB, free: 11.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.1349, allocations: 0.7188 kB / 0.6577 GB, free: 11.09 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001455/0.1364, allocations: 0.7903 MB / 0.6585 GB, free: 10.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.707e-05/0.1364, allocations: 8.031 kB / 0.6585 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002813/0.1392, allocations: 0.5722 MB / 0.6591 GB, free: 9.676 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.1404, allocations: 0.5573 MB / 0.6596 GB, free: 9.082 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.1405, allocations: 199.2 kB / 0.6598 GB, free: 8.852 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.553e-05/0.1406, allocations: 47.94 kB / 0.6599 GB, free: 8.805 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.1418, allocations: 0.6674 MB / 0.6605 GB, free: 8.117 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1418, allocations: 0 / 0.6605 GB, free: 8.117 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-05/0.1419, allocations: 16 kB / 0.6605 GB, free: 8.102 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1419, allocations: 12 kB / 0.6605 GB, free: 8.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.1435, allocations: 0.7766 MB / 0.6613 GB, free: 7.316 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002959/0.1465, allocations: 1.723 MB / 0.663 GB, free: 5.531 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002732/0.1492, allocations: 1.024 MB / 0.664 GB, free: 4.484 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/0.1507, allocations: 1.769 MB / 0.6657 GB, free: 2.328 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008551/0.1516, allocations: 455.3 kB / 0.6661 GB, free: 1.875 MB / 462.1 MB Notification: Performance of pre-optimization done (n=66): time 2.084e-06/0.1516, allocations: 8 kB / 0.6661 GB, free: 1.867 MB / 462.1 MB Notification: Performance of matching and sorting (n=66): time 0.002366/0.154, allocations: 1.076 MB / 0.6672 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.154, allocations: 111.4 kB / 0.6673 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.1544, allocations: 353.8 kB / 0.6676 GB, free: 308 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/0.1544, allocations: 37.7 kB / 0.6677 GB, free: 264 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.1545, allocations: 217 kB / 0.6679 GB, free: 40 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.1547, allocations: 224.8 kB / 0.6681 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.1548, allocations: 12 kB / 0.6681 GB, free: 15.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1549, allocations: 358.8 kB / 0.6685 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007122/0.1556, allocations: 313.8 kB / 0.6688 GB, free: 15.14 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007642/0.1564, allocations: 441.5 kB / 0.6692 GB, free: 14.67 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007436/0.1571, allocations: 343 kB / 0.6695 GB, free: 14.34 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.1571, allocations: 0 / 0.6695 GB, free: 14.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001733/0.1589, allocations: 0.8635 MB / 0.6703 GB, free: 13.46 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1589, allocations: 9.562 kB / 0.6704 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1589, allocations: 0 / 0.6704 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1589, allocations: 8 kB / 0.6704 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008915/0.1598, allocations: 199.8 kB / 0.6706 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.1599, allocations: 4 kB / 0.6706 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/0.1605, allocations: 107.2 kB / 0.6707 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/0.1605, allocations: 35.91 kB / 0.6707 GB, free: 13.11 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,radiationFixed.outsidePolarCircle,radiationOneAxisTracked.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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 0.0002307/0.1608, allocations: 207.5 kB / 0.6709 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.22e-05/0.1609, allocations: 51.34 kB / 0.6709 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/0.1633, allocations: 1.127 MB / 0.672 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.1633, allocations: 8 kB / 0.672 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1633, allocations: 7.953 kB / 0.6721 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.1633, allocations: 3.984 kB / 0.6721 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/0.166, allocations: 1.765 MB / 0.6738 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.166, allocations: 0 / 0.6738 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008771/0.1669, allocations: 195.7 kB / 0.674 GB, free: 9.676 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1669, allocations: 4 kB / 0.674 GB, free: 9.672 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.221e-05/0.167, allocations: 23.97 kB / 0.674 GB, free: 9.648 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.167, allocations: 4 kB / 0.674 GB, free: 9.645 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.167, allocations: 0 / 0.674 GB, free: 9.645 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.1688, allocations: 1.015 MB / 0.675 GB, free: 8.617 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002663/0.169, allocations: 220.1 kB / 0.6752 GB, free: 8.383 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/0.1691, allocations: 16 kB / 0.6752 GB, free: 8.367 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005923/0.1697, allocations: 69.97 kB / 0.6753 GB, free: 8.301 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.1699, allocations: 60.91 kB / 0.6753 GB, free: 8.238 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-05/0.1699, allocations: 27.98 kB / 0.6754 GB, free: 8.211 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000219/0.1701, allocations: 251.2 kB / 0.6756 GB, free: 7.969 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1702, allocations: 0 / 0.6756 GB, free: 7.969 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006216/0.1708, allocations: 227.8 kB / 0.6758 GB, free: 7.746 MB / 478.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,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 94 * 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 0.0009843/0.1718, allocations: 0.4922 MB / 0.6763 GB, free: 7.395 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.1734, allocations: 0.815 MB / 0.6771 GB, free: 6.582 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1734, allocations: 0 / 0.6771 GB, free: 6.582 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008491/0.1743, allocations: 477.7 kB / 0.6776 GB, free: 6.113 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.1746, allocations: 52.39 kB / 0.6776 GB, free: 6.066 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.1764, allocations: 1.382 MB / 0.679 GB, free: 4.652 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.1768, allocations: 0.8781 MB / 0.6798 GB, free: 3.746 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000725/0.1775, allocations: 176.5 kB / 0.68 GB, free: 3.574 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.1778, allocations: 95.36 kB / 0.6801 GB, free: 3.48 MB / 478.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1778, allocations: 0 / 0.6801 GB, free: 3.48 MB / 478.1 MB Notification: Performance of Templates: time 0.01235/0.1902, allocations: 8.832 MB / 0.6887 GB, free: 10.7 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; mkfifo BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe >> ../files/BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.sim & ./BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1) Environment - environmentSimulation: