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.000915/0.000915, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005364/0.005364, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.308/1.308, allocations: 223.2 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001799/0.001799, allocations: 274.4 kB / 291.7 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9173/0.9173, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003891, allocations: 11.42 kB / 0.5988 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1546, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.003016/0.1576, allocations: 2.724 MB / 0.6879 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00413/0.1618, allocations: 3.211 MB / 0.691 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.1619, allocations: 0 / 0.691 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.1622, allocations: 51.62 kB / 0.6911 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000775/0.163, allocations: 356.9 kB / 0.6914 GB, free: 8.633 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000661/0.1636, allocations: 348.5 kB / 0.6917 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005529/0.1642, allocations: 0.6606 MB / 0.6924 GB, free: 7.641 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.1644, allocations: 112.5 kB / 0.6925 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.1647, allocations: 235.9 kB / 0.6927 GB, free: 7.297 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004068/0.1651, allocations: 287.4 kB / 0.693 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.873e-05/0.1652, allocations: 28 kB / 0.693 GB, free: 6.988 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006596/0.1658, allocations: 471.4 kB / 0.6935 GB, free: 6.527 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.166, allocations: 127.5 kB / 0.6936 GB, free: 6.402 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.1662, allocations: 280.3 kB / 0.6938 GB, free: 6.121 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008632/0.1671, allocations: 0.9152 MB / 0.6947 GB, free: 5.203 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1671, allocations: 0 / 0.6947 GB, free: 5.203 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1671, allocations: 0 / 0.6947 GB, free: 5.203 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1671, allocations: 0 / 0.6947 GB, free: 5.203 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.00158/0.1687, allocations: 0.7934 MB / 0.6955 GB, free: 4.359 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1687, allocations: 12.03 kB / 0.6955 GB, free: 4.348 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.1688, allocations: 86.7 kB / 0.6956 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00311/0.172, allocations: 0.5777 MB / 0.6962 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.1731, allocations: 0.5623 MB / 0.6967 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.1733, allocations: 199.5 kB / 0.6969 GB, free: 2.844 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.505e-05/0.1734, allocations: 44 kB / 0.697 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.1748, allocations: 0.683 MB / 0.6976 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1748, allocations: 0 / 0.6976 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.337e-05/0.1749, allocations: 27.92 kB / 0.6976 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.1749, allocations: 16 kB / 0.6977 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.1767, allocations: 0.7767 MB / 0.6984 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003126/0.1798, allocations: 1.735 MB / 0.7001 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003143/0.183, allocations: 1.021 MB / 0.7011 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008442/0.1838, allocations: 374.3 kB / 0.7015 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001795/0.1856, allocations: 1.773 MB / 0.7032 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.1867, allocations: 458.8 kB / 0.7036 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.334e-06/0.1867, allocations: 0 / 0.7036 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.002624/0.1893, allocations: 1.084 MB / 0.7047 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.1894, allocations: 115.3 kB / 0.7048 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.1898, allocations: 357.7 kB / 0.7052 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.095e-05/0.1898, allocations: 37.7 kB / 0.7052 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.19, allocations: 217 kB / 0.7054 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.1902, allocations: 220.8 kB / 0.7056 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.251e-05/0.1903, allocations: 61.69 kB / 0.7057 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1904, allocations: 354.8 kB / 0.706 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007779/0.1912, allocations: 317.8 kB / 0.7063 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008534/0.1921, allocations: 441.6 kB / 0.7067 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.1937, allocations: 0.7361 MB / 0.7074 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1937, allocations: 4 kB / 0.7074 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001937/0.1957, allocations: 0.8597 MB / 0.7083 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1957, allocations: 8 kB / 0.7083 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1957, allocations: 0 / 0.7083 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1957, allocations: 8 kB / 0.7083 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009502/0.1967, allocations: 199.8 kB / 0.7085 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.1967, allocations: 11.92 kB / 0.7085 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006812/0.1974, allocations: 101.5 kB / 0.7086 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-05/0.1975, allocations: 39.97 kB / 0.7086 GB, free: 6.199 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.0002734/0.1978, allocations: 194.4 kB / 0.7088 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.695e-05/0.1979, allocations: 51.34 kB / 0.7089 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/0.2005, allocations: 1.131 MB / 0.71 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.2005, allocations: 8 kB / 0.71 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.2005, allocations: 7.875 kB / 0.71 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.2006, allocations: 7.969 kB / 0.71 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/0.2035, allocations: 1.763 MB / 0.7117 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2035, allocations: 7.938 kB / 0.7117 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009313/0.2044, allocations: 199.7 kB / 0.7119 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.2045, allocations: 7.938 kB / 0.7119 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-05/0.2045, allocations: 23.97 kB / 0.712 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.2045, allocations: 4 kB / 0.712 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2045, allocations: 0 / 0.712 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.2066, allocations: 1.007 MB / 0.7129 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.2069, allocations: 239.9 kB / 0.7132 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9e-05/0.207, allocations: 16 kB / 0.7132 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00064/0.2076, allocations: 59.94 kB / 0.7132 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.2077, allocations: 60.91 kB / 0.7133 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.474e-05/0.2078, allocations: 27.98 kB / 0.7133 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002745/0.2081, allocations: 263.1 kB / 0.7136 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2081, allocations: 0 / 0.7136 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007156/0.2088, allocations: 215.8 kB / 0.7138 GB, free: 0.8203 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.003563/0.2124, allocations: 1.96 MB / 0.7157 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001884/0.2143, allocations: 0.8227 MB / 0.7165 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2143, allocations: 384 / 0.7165 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009262/0.2152, allocations: 477.5 kB / 0.717 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.2157, allocations: 73.42 kB / 0.717 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008535/0.2243, allocations: 5.46 MB / 0.7224 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.2247, allocations: 0.8704 MB / 0.7232 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008447/0.2256, allocations: 164.7 kB / 0.7234 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004506/0.226, allocations: 219.3 kB / 0.7236 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of SimCode: time 2.124e-06/0.2261, allocations: 4 kB / 0.7236 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.2555, allocations: 13.56 MB / 0.7368 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/0.2557, allocations: 243 kB / 0.737 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.092/2.348, allocations: 0 / 0.737 GB, free: 9.113 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)