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.001269/0.001269, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001506/0.001506, allocations: 220.3 kB / 23.04 MB, free: 5.074 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.003576/0.003576, allocations: 290.2 kB / 313.5 MB, free: 2.836 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.243/1.243, allocations: 180.6 MB / 0.5377 GB, free: 13.07 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Climate.Examples.TiltedRadiation,fileNamePrefix="BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation",fmuType="cs",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.002843/0.002843, allocations: 99.16 kB / 0.7403 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1731, allocations: 95.38 MB / 0.8335 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004677/0.1778, allocations: 3.136 MB / 0.8365 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00555/0.1834, allocations: 3.534 MB / 0.84 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002607/0.1836, allocations: 0 / 0.84 GB, free: 2.059 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.0004012/0.184, allocations: 75.23 kB / 0.84 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.1854, allocations: 493.6 kB / 0.8405 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008903/0.1863, allocations: 385.6 kB / 0.8409 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007795/0.187, allocations: 0.722 MB / 0.8416 GB, free: 412 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.1872, allocations: 86.75 kB / 0.8417 GB, free: 316 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004275/0.1877, allocations: 307 kB / 0.842 GB, free: 8 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005497/0.1882, allocations: 326.9 kB / 0.8423 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.827e-05/0.1883, allocations: 60 kB / 0.8423 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.1894, allocations: 0.5657 MB / 0.8429 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.1896, allocations: 175.5 kB / 0.8431 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002911/0.1899, allocations: 298.5 kB / 0.8433 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.1913, allocations: 1.047 MB / 0.8444 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1913, allocations: 7.938 kB / 0.8444 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1913, allocations: 3.938 kB / 0.8444 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.1913, allocations: 0 / 0.8444 GB, free: 13.54 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.0021/0.1934, allocations: 0.8878 MB / 0.8452 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1934, allocations: 9.344 kB / 0.8452 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.927e-05/0.1934, allocations: 13.19 kB / 0.8453 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.1936, allocations: 90.72 kB / 0.8453 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003411/0.197, allocations: 0.578 MB / 0.8459 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.1983, allocations: 0.5092 MB / 0.8464 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003018/0.1986, allocations: 365.5 kB / 0.8468 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.531e-05/0.1987, allocations: 40 kB / 0.8468 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.2003, allocations: 0.6792 MB / 0.8475 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.2003, allocations: 0 / 0.8475 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.971e-05/0.2004, allocations: 20 kB / 0.8475 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.2004, allocations: 12 kB / 0.8475 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/0.2023, allocations: 0.7727 MB / 0.8482 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003626/0.206, allocations: 1.693 MB / 0.8499 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/0.2091, allocations: 0.8993 MB / 0.8508 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008697/0.21, allocations: 338.6 kB / 0.8511 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/0.2111, allocations: 208.4 kB / 0.8513 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/0.2122, allocations: 460.1 kB / 0.8517 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=66): time 2.735e-06/0.2122, allocations: 4 kB / 0.8517 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66): time 0.002964/0.2152, allocations: 1.065 MB / 0.8528 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.131e-05/0.2153, allocations: 115.4 kB / 0.8529 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005066/0.2158, allocations: 381.7 kB / 0.8533 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.069e-05/0.2158, allocations: 37.7 kB / 0.8533 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.216, allocations: 225.4 kB / 0.8535 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.2163, allocations: 234 kB / 0.8537 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002653/0.2165, allocations: 142.6 kB / 0.8539 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.2167, allocations: 362.7 kB / 0.8542 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008431/0.2175, allocations: 313.8 kB / 0.8545 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009728/0.2185, allocations: 445.5 kB / 0.8549 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.2203, allocations: 0.717 MB / 0.8556 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.2203, allocations: 4 kB / 0.8556 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00222/0.2226, allocations: 0.8599 MB / 0.8565 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.2226, allocations: 8 kB / 0.8565 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2226, allocations: 4 kB / 0.8565 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.2226, allocations: 4 kB / 0.8565 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.2236, allocations: 195.8 kB / 0.8567 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.2237, allocations: 15.98 kB / 0.8567 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007244/0.2244, allocations: 95.45 kB / 0.8568 GB, free: 464 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.906e-05/0.2245, allocations: 35.97 kB / 0.8568 GB, free: 428 kB / 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.0003327/0.2248, allocations: 206.2 kB / 0.857 GB, free: 212 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.2249, allocations: 51.67 kB / 0.8571 GB, free: 160 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002874/0.2278, allocations: 1.12 MB / 0.8582 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.2278, allocations: 11.94 kB / 0.8582 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2278, allocations: 0 / 0.8582 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.2278, allocations: 3.984 kB / 0.8582 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003384/0.2312, allocations: 1.75 MB / 0.8599 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.2312, allocations: 4 kB / 0.8599 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009913/0.2322, allocations: 195.7 kB / 0.8601 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-06/0.2322, allocations: 4 kB / 0.8601 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.819e-05/0.2323, allocations: 27.97 kB / 0.8601 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.2323, allocations: 0 / 0.8601 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2323, allocations: 0 / 0.8601 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.2345, allocations: 1.013 MB / 0.8611 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/0.2348, allocations: 151.2 kB / 0.8612 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.2349, allocations: 19.98 kB / 0.8613 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000659/0.2356, allocations: 55.94 kB / 0.8613 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.2357, allocations: 60.89 kB / 0.8614 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.699e-05/0.2358, allocations: 35.97 kB / 0.8614 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003322/0.2361, allocations: 255.2 kB / 0.8616 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.2361, allocations: 0 / 0.8616 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008098/0.2369, allocations: 247.5 kB / 0.8619 GB, free: 11.14 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.004417/0.2414, allocations: 2.029 MB / 0.8639 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002102/0.2435, allocations: 0.7838 MB / 0.8646 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2435, allocations: 0 / 0.8646 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.2445, allocations: 441.7 kB / 0.865 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/0.245, allocations: 70.5 kB / 0.8651 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009456/0.2545, allocations: 5.193 MB / 0.8702 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.255, allocations: 0.8701 MB / 0.871 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007029/0.2557, allocations: 172.6 kB / 0.8712 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004774/0.2562, allocations: 227.3 kB / 0.8714 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of SimCode: time 1.082e-06/0.2562, allocations: 0 / 0.8714 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04244/0.2986, allocations: 15.97 MB / 0.887 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.31, allocations: 3.562 kB / 0.887 GB, free: 1.488 MB / 0.6231 GB " [Timeout remaining time 647] (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 os._exit(0), Time elapsed: 16.611389615980443] Failed to read output from testmodel.py, exit status != 0: 12.563205736980308 12.589261925 12.392796996 Calling exit ...