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: "" <> buildModelFMU(BuildingSystems.Climate.Examples.TiltedRadiation,fileNamePrefix="BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Climate.Examples.TiltedRadiation,fileNamePrefix="BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation",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.001189/0.001189, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00218/0.00218, allocations: 282.6 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9422/0.9422, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 93.91 kB / 0.5953 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1291, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004258/0.1334, allocations: 3.068 MB / 0.6833 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004463/0.1379, allocations: 3.235 MB / 0.6864 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.1381, allocations: 3.938 kB / 0.6864 GB, free: 10.27 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.1385, allocations: 71.3 kB / 0.6865 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.1396, allocations: 429.8 kB / 0.6869 GB, free: 9.773 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007994/0.1404, allocations: 382 kB / 0.6873 GB, free: 9.402 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006805/0.1411, allocations: 0.7064 MB / 0.688 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.1413, allocations: 114.6 kB / 0.6881 GB, free: 8.578 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003595/0.1417, allocations: 283.1 kB / 0.6883 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004987/0.1422, allocations: 326.8 kB / 0.6886 GB, free: 7.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.1423, allocations: 60 kB / 0.6887 GB, free: 7.922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008386/0.1432, allocations: 495.5 kB / 0.6892 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.1433, allocations: 171.4 kB / 0.6893 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002991/0.1437, allocations: 294.5 kB / 0.6896 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.1448, allocations: 0.9545 MB / 0.6906 GB, free: 6.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1448, allocations: 0 / 0.6906 GB, free: 6.023 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1448, allocations: 4 kB / 0.6906 GB, free: 6.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.1448, allocations: 0 / 0.6906 GB, free: 6.02 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001986/0.1468, allocations: 0.914 MB / 0.6914 GB, free: 5.055 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1468, allocations: 8.031 kB / 0.6915 GB, free: 5.047 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.147, allocations: 86.7 kB / 0.6915 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003365/0.1503, allocations: 0.5583 MB / 0.6921 GB, free: 4.395 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.1517, allocations: 0.5623 MB / 0.6926 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.1518, allocations: 207.5 kB / 0.6928 GB, free: 3.555 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.609e-05/0.1519, allocations: 40 kB / 0.6929 GB, free: 3.516 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.1534, allocations: 0.6792 MB / 0.6935 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1534, allocations: 0 / 0.6935 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.099e-05/0.1535, allocations: 16 kB / 0.6935 GB, free: 2.809 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.1535, allocations: 15.94 kB / 0.6936 GB, free: 2.793 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.1555, allocations: 0.7728 MB / 0.6943 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003335/0.1588, allocations: 1.724 MB / 0.696 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003206/0.162, allocations: 1.011 MB / 0.697 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000869/0.1629, allocations: 370.3 kB / 0.6973 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001782/0.1647, allocations: 1.769 MB / 0.6991 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.1657, allocations: 458.8 kB / 0.6995 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.014e-06/0.1658, allocations: 0 / 0.6995 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.002869/0.1686, allocations: 1.068 MB / 0.7005 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.1687, allocations: 111.3 kB / 0.7007 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003784/0.1691, allocations: 365.7 kB / 0.701 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.871e-05/0.1692, allocations: 41.64 kB / 0.701 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.1693, allocations: 213 kB / 0.7012 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.1695, allocations: 224.7 kB / 0.7015 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.1697, allocations: 146.5 kB / 0.7016 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1699, allocations: 354.8 kB / 0.7019 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008537/0.1707, allocations: 317.8 kB / 0.7022 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000949/0.1717, allocations: 437.6 kB / 0.7027 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001775/0.1735, allocations: 0.7321 MB / 0.7034 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1735, allocations: 0 / 0.7034 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002126/0.1756, allocations: 0.8596 MB / 0.7042 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1756, allocations: 9.719 kB / 0.7042 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1757, allocations: 0 / 0.7042 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1757, allocations: 8 kB / 0.7042 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.1767, allocations: 187.7 kB / 0.7044 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.1767, allocations: 12.12 kB / 0.7044 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007159/0.1774, allocations: 93.2 kB / 0.7045 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.054e-05/0.1775, allocations: 39.95 kB / 0.7045 GB, free: 6.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000256/0.1778, allocations: 199 kB / 0.7047 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.1779, allocations: 51.38 kB / 0.7048 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/0.1808, allocations: 1.127 MB / 0.7059 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.1808, allocations: 12 kB / 0.7059 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1808, allocations: 3.938 kB / 0.7059 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.1808, allocations: 7.984 kB / 0.7059 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003131/0.184, allocations: 1.755 MB / 0.7076 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.184, allocations: 4 kB / 0.7076 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.185, allocations: 191.7 kB / 0.7078 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.185, allocations: 7.938 kB / 0.7078 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.997e-05/0.1851, allocations: 19.98 kB / 0.7078 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.1851, allocations: 4 kB / 0.7078 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1851, allocations: 7.984 kB / 0.7079 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.1873, allocations: 1.003 MB / 0.7088 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.1875, allocations: 228 kB / 0.709 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.1877, allocations: 16 kB / 0.7091 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006807/0.1883, allocations: 55.94 kB / 0.7091 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.1885, allocations: 60.91 kB / 0.7092 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.848e-05/0.1885, allocations: 35.98 kB / 0.7092 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002648/0.1888, allocations: 255.1 kB / 0.7095 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1888, allocations: 0 / 0.7095 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006662/0.1895, allocations: 223.8 kB / 0.7097 GB, free: 1.562 MB / 0.4981 GB 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 (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.003458/0.193, allocations: 1.947 MB / 0.7116 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002582/0.1956, allocations: 0.8736 MB / 0.7124 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.1956, allocations: 4.125 kB / 0.7124 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.1966, allocations: 473.4 kB / 0.7129 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004821/0.1971, allocations: 81.11 kB / 0.713 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008738/0.2058, allocations: 5.18 MB / 0.718 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.2063, allocations: 0.8701 MB / 0.7189 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000826/0.2071, allocations: 164.6 kB / 0.719 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004483/0.2075, allocations: 223.3 kB / 0.7192 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of SimCode: time 3.7e-07/0.2076, allocations: 0 / 0.7192 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4387/0.6462, allocations: 14.28 MB / 0.7332 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.675, allocations: 10.56 kB / 0.7332 GB, free: 9.566 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation.fmu > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1)