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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7551/0.7551, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009254/0.0009253, allocations: 184 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 221.3 MB / 441.4 MB, free: 4.609 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008339/0.0008338, allocations: 95.41 kB / 0.5124 GB, free: 24.11 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001652/0.001652, allocations: 270.7 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.338e-05/4.342e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.37, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.4964, allocations: 119.8 MB / 0.8813 GB, free: 4.707 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.4966, allocations: 79.94 kB / 0.8814 GB, free: 4.629 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Interfaces/RadiationPort.mo:2:1-11:18:writable] Warning: Connector .BuildingSystems.Interfaces.RadiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.05308/0.5497, allocations: 18.52 MB / 0.8995 GB, free: 2.098 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5498, allocations: 3.938 kB / 0.8995 GB, free: 2.094 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.049e-05/0.5498, allocations: 12 kB / 0.8995 GB, free: 2.082 MB / 0.5573 GB 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.001597/0.5514, allocations: 0.7972 MB / 0.9003 GB, free: 1.238 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.5515, allocations: 8.031 kB / 0.9003 GB, free: 1.23 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.5516, allocations: 86.52 kB / 0.9004 GB, free: 1.137 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002553/0.5541, allocations: 490.8 kB / 0.9009 GB, free: 0.6562 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005921/0.5547, allocations: 390.1 kB / 0.9012 GB, free: 244 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.555, allocations: 203.1 kB / 0.9014 GB, free: 0 / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.941e-05/0.555, allocations: 44.12 kB / 0.9015 GB, free: 15.95 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.5561, allocations: 0.6363 MB / 0.9021 GB, free: 15.3 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5561, allocations: 0 / 0.9021 GB, free: 15.3 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.321e-05/0.5562, allocations: 23.92 kB / 0.9021 GB, free: 15.27 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.5562, allocations: 12 kB / 0.9021 GB, free: 15.26 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.5573, allocations: 0.7106 MB / 0.9028 GB, free: 14.55 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00314/0.5605, allocations: 1.703 MB / 0.9045 GB, free: 12.79 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.5627, allocations: 0.9672 MB / 0.9054 GB, free: 11.79 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005288/0.5633, allocations: 346.4 kB / 0.9058 GB, free: 11.45 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001733/0.565, allocations: 1.765 MB / 0.9075 GB, free: 9.297 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007162/0.5657, allocations: 452.3 kB / 0.9079 GB, free: 8.848 MB / 0.573 GB Notification: Performance of pre-optimization done (n=67): time 2.876e-06/0.5658, allocations: 0 / 0.9079 GB, free: 8.848 MB / 0.573 GB Notification: Performance of matching and sorting (n=67): time 0.001326/0.5671, allocations: 0.7211 MB / 0.9086 GB, free: 8.117 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.5672, allocations: 133.1 kB / 0.9087 GB, free: 7.957 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004425/0.5676, allocations: 371.6 kB / 0.9091 GB, free: 7.59 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/0.5677, allocations: 37.7 kB / 0.9091 GB, free: 7.547 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.5678, allocations: 205.2 kB / 0.9093 GB, free: 7.34 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.568, allocations: 224.7 kB / 0.9095 GB, free: 7.117 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.5681, allocations: 12 kB / 0.9096 GB, free: 7.105 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5682, allocations: 362.8 kB / 0.9099 GB, free: 6.742 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004884/0.5687, allocations: 305.5 kB / 0.9102 GB, free: 6.445 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/0.5693, allocations: 375.8 kB / 0.9106 GB, free: 6.066 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005216/0.5698, allocations: 302 kB / 0.9108 GB, free: 5.773 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5698, allocations: 0 / 0.9108 GB, free: 5.773 MB / 0.573 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001305/0.5712, allocations: 0.7847 MB / 0.9116 GB, free: 4.98 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.5712, allocations: 12 kB / 0.9116 GB, free: 4.969 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5712, allocations: 0 / 0.9116 GB, free: 4.969 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.5712, allocations: 4 kB / 0.9116 GB, free: 4.965 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.5723, allocations: 215.7 kB / 0.9118 GB, free: 4.754 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.5723, allocations: 4 kB / 0.9118 GB, free: 4.75 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009018/0.5732, allocations: 155.3 kB / 0.912 GB, free: 4.598 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.147e-05/0.5733, allocations: 31.95 kB / 0.912 GB, free: 4.566 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,radiationOneAxisTracked.outsidePolarCircle,radiationFixed.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.0001691/0.5734, allocations: 140.9 kB / 0.9121 GB, free: 4.422 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.611e-05/0.5736, allocations: 55.3 kB / 0.9122 GB, free: 4.367 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.5756, allocations: 1.061 MB / 0.9132 GB, free: 3.312 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.5756, allocations: 12 kB / 0.9132 GB, free: 3.301 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5756, allocations: 0 / 0.9132 GB, free: 3.301 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.5756, allocations: 3.984 kB / 0.9132 GB, free: 3.297 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/0.5782, allocations: 1.818 MB / 0.915 GB, free: 1.418 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5782, allocations: 3.938 kB / 0.915 GB, free: 1.414 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009915/0.5792, allocations: 223.7 kB / 0.9152 GB, free: 1.195 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.5792, allocations: 4 kB / 0.9152 GB, free: 1.191 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.353e-05/0.5793, allocations: 27.97 kB / 0.9153 GB, free: 1.164 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.5793, allocations: 4 kB / 0.9153 GB, free: 1.16 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5793, allocations: 4 kB / 0.9153 GB, free: 1.156 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.5807, allocations: 0.9386 MB / 0.9162 GB, free: 204 kB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3393/0.92, allocations: 246 kB / 0.9164 GB, free: 137.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003243/0.9204, allocations: 16.69 kB / 0.9164 GB, free: 137.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000969/0.9214, allocations: 101.8 kB / 0.9165 GB, free: 137.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.9216, allocations: 57.98 kB / 0.9166 GB, free: 137.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-05/0.9217, allocations: 31.23 kB / 0.9166 GB, free: 137.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000463/0.9221, allocations: 294.9 kB / 0.9169 GB, free: 137.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9221, allocations: 0 / 0.9169 GB, free: 137.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001079/0.9232, allocations: 266.5 kB / 0.9172 GB, free: 137.3 MB / 0.573 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 93 * 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.003024/0.9263, allocations: 1.89 MB / 0.919 GB, free: 136.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001553/0.9278, allocations: 0.7696 MB / 0.9198 GB, free: 136.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.9278, allocations: 1 kB / 0.9198 GB, free: 136.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007577/0.9286, allocations: 448.8 kB / 0.9202 GB, free: 136.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.9291, allocations: 56.36 kB / 0.9202 GB, free: 136.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.9312, allocations: 1.045 MB / 0.9213 GB, free: 136.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.9316, allocations: 0.8745 MB / 0.9221 GB, free: 135.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008892/0.9325, allocations: 172.9 kB / 0.9223 GB, free: 135.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004797/0.933, allocations: 212.8 kB / 0.9225 GB, free: 135.6 MB / 0.573 GB Notification: Performance of SimCode: time 6.01e-07/0.933, allocations: 0 / 0.9225 GB, free: 135.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.9643, allocations: 14.32 MB / 0.9365 GB, free: 134.6 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/0.9645, allocations: 195.4 kB / 0.9367 GB, free: 134.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/3.368, allocations: 0 / 0.9367 GB, free: 134.4 MB / 0.573 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/linux/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)