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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00266/0.00266, allocations: 280.1 kB / 312.7 MB, free: 2.676 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.239/1.239, allocations: 180.6 MB / 0.5369 GB, free: 14.43 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002901/0.002901, allocations: 107.6 kB / 0.7395 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1776, allocations: 95.38 MB / 0.8326 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004503/0.1821, allocations: 2.912 MB / 0.8354 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005197/0.1873, allocations: 3.305 MB / 0.8387 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.1875, allocations: 4 kB / 0.8387 GB, free: 2.07 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 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.0003217/0.1878, allocations: 71.3 kB / 0.8387 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.1889, allocations: 489.6 kB / 0.8392 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007426/0.1896, allocations: 394.5 kB / 0.8396 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006978/0.1903, allocations: 0.7142 MB / 0.8403 GB, free: 428 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.1905, allocations: 78.77 kB / 0.8404 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003785/0.1909, allocations: 311 kB / 0.8407 GB, free: 28 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000455/0.1914, allocations: 302.8 kB / 0.8409 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.944e-05/0.1915, allocations: 64 kB / 0.841 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000831/0.1923, allocations: 0.5345 MB / 0.8415 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.1925, allocations: 171.5 kB / 0.8417 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.1927, allocations: 250.8 kB / 0.8419 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.1939, allocations: 1.051 MB / 0.843 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1939, allocations: 0 / 0.843 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1939, allocations: 0 / 0.843 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.1939, allocations: 4 kB / 0.843 GB, free: 13.66 MB / 0.5919 GB 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.001898/0.1958, allocations: 0.8839 MB / 0.8438 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.1959, allocations: 9.938 kB / 0.8438 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.196, allocations: 86.7 kB / 0.8439 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003309/0.1993, allocations: 0.578 MB / 0.8445 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.2006, allocations: 0.5131 MB / 0.845 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002841/0.2009, allocations: 357.7 kB / 0.8453 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.154e-05/0.201, allocations: 44 kB / 0.8454 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.2025, allocations: 0.7505 MB / 0.8461 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.2025, allocations: 0 / 0.8461 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.38e-05/0.2026, allocations: 24 kB / 0.8461 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.2026, allocations: 8 kB / 0.8461 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/0.2045, allocations: 0.7688 MB / 0.8469 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003453/0.2079, allocations: 1.56 MB / 0.8484 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003015/0.2109, allocations: 0.8962 MB / 0.8493 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008375/0.2118, allocations: 335.6 kB / 0.8496 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/0.2129, allocations: 208.4 kB / 0.8498 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.2139, allocations: 460.2 kB / 0.8502 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=66): time 2.215e-06/0.2139, allocations: 4 kB / 0.8502 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66): time 0.002808/0.2167, allocations: 1.067 MB / 0.8513 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/0.2168, allocations: 115.4 kB / 0.8514 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004413/0.2173, allocations: 385.7 kB / 0.8518 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/0.2173, allocations: 33.7 kB / 0.8518 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.2175, allocations: 229.3 kB / 0.852 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.2177, allocations: 230 kB / 0.8522 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.2179, allocations: 146.5 kB / 0.8524 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.2181, allocations: 354.8 kB / 0.8527 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008247/0.2189, allocations: 317.8 kB / 0.853 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009699/0.2199, allocations: 492.9 kB / 0.8535 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001764/0.2217, allocations: 0.7287 MB / 0.8542 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2217, allocations: 0 / 0.8542 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002097/0.2238, allocations: 0.8677 MB / 0.855 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.2238, allocations: 8 kB / 0.855 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.2238, allocations: 4 kB / 0.8551 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.2238, allocations: 7.938 kB / 0.8551 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009733/0.2248, allocations: 187.7 kB / 0.8552 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.2248, allocations: 11.94 kB / 0.8553 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000662/0.2255, allocations: 95.7 kB / 0.8553 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-05/0.2255, allocations: 35.97 kB / 0.8554 GB, free: 0.543 MB / 0.5919 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.000277/0.2258, allocations: 204.3 kB / 0.8556 GB, free: 344 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.2259, allocations: 47.67 kB / 0.8556 GB, free: 296 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002773/0.2287, allocations: 1.124 MB / 0.8567 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.2287, allocations: 12 kB / 0.8567 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.2287, allocations: 7.938 kB / 0.8567 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.2287, allocations: 3.984 kB / 0.8567 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003186/0.2319, allocations: 1.637 MB / 0.8583 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.2319, allocations: 3.984 kB / 0.8583 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009678/0.2329, allocations: 191.7 kB / 0.8585 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.2329, allocations: 7.938 kB / 0.8585 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/0.233, allocations: 23.98 kB / 0.8586 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.233, allocations: 7.938 kB / 0.8586 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.233, allocations: 0 / 0.8586 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/0.2351, allocations: 1.006 MB / 0.8595 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/0.2354, allocations: 155.2 kB / 0.8597 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.652e-05/0.2355, allocations: 16 kB / 0.8597 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006341/0.2362, allocations: 59.94 kB / 0.8598 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.2363, allocations: 60.88 kB / 0.8598 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.997e-05/0.2364, allocations: 31.98 kB / 0.8599 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002996/0.2367, allocations: 263.2 kB / 0.8601 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2367, allocations: 0 / 0.8601 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007414/0.2374, allocations: 251.4 kB / 0.8603 GB, free: 11.38 MB / 0.6075 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.004374/0.2418, allocations: 2.055 MB / 0.8623 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002009/0.2438, allocations: 0.7915 MB / 0.8631 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2438, allocations: 0 / 0.8631 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009838/0.2448, allocations: 437.7 kB / 0.8635 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.2453, allocations: 68.11 kB / 0.8636 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009412/0.2547, allocations: 5.185 MB / 0.8687 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.255, allocations: 274.2 kB / 0.8689 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007001/0.2557, allocations: 172.6 kB / 0.8691 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004553/0.2561, allocations: 223.3 kB / 0.8693 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.2561, allocations: 0 / 0.8693 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0482/0.3043, allocations: 16.12 MB / 0.8851 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.88, allocations: 10.98 kB / 0.8851 GB, free: 2.156 MB / 0.6231 GB " [Timeout remaining time 648] (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 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation.fmu > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.202863689046353] Failed to read output from testmodel.py, exit status != 0: 12.081756699364632 12.107680726 11.908844811 Calling exit ...