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.001391/0.001391, 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.001879/0.001879, allocations: 210.7 kB / 22.25 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.773 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.004104/0.004104, allocations: 295.5 kB / 312.7 MB, free: 2.699 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.24/1.24, allocations: 180.6 MB / 0.5369 GB, free: 14.56 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.002918/0.002918, allocations: 106.2 kB / 0.7395 GB, free: 27.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1704, allocations: 95.38 MB / 0.8326 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.00449/0.1749, allocations: 2.906 MB / 0.8354 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005205/0.1801, allocations: 3.316 MB / 0.8387 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.1803, allocations: 4 kB / 0.8387 GB, free: 2.074 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.0003207/0.1806, allocations: 67.31 kB / 0.8387 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.1817, allocations: 489.6 kB / 0.8392 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007822/0.1825, allocations: 382.7 kB / 0.8396 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007156/0.1832, allocations: 0.7181 MB / 0.8403 GB, free: 444 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.1834, allocations: 78.75 kB / 0.8403 GB, free: 356 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003966/0.1838, allocations: 307.1 kB / 0.8406 GB, free: 48 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004608/0.1843, allocations: 306.8 kB / 0.8409 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.1844, allocations: 60 kB / 0.841 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008888/0.1853, allocations: 0.5385 MB / 0.8415 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.1854, allocations: 175.5 kB / 0.8417 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.1857, allocations: 246.8 kB / 0.8419 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.1869, allocations: 1.051 MB / 0.8429 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1869, allocations: 0 / 0.8429 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.704e-06/0.1869, allocations: 0 / 0.8429 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.187, allocations: 3.938 kB / 0.843 GB, free: 13.68 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.001981/0.1889, allocations: 0.8879 MB / 0.8438 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.189, allocations: 13.34 kB / 0.8438 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/0.1891, allocations: 86.72 kB / 0.8439 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003299/0.1924, allocations: 0.578 MB / 0.8445 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.1937, allocations: 0.5014 MB / 0.845 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002793/0.194, allocations: 365.7 kB / 0.8453 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.219e-05/0.1941, allocations: 44 kB / 0.8454 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.1956, allocations: 0.7505 MB / 0.8461 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.1956, allocations: 0 / 0.8461 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.417e-05/0.1956, allocations: 23.94 kB / 0.8461 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.1957, allocations: 12 kB / 0.8461 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.1975, allocations: 0.7649 MB / 0.8469 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003483/0.201, allocations: 1.572 MB / 0.8484 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/0.204, allocations: 0.8901 MB / 0.8493 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008193/0.2048, allocations: 338.6 kB / 0.8496 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.2059, allocations: 196.4 kB / 0.8498 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/0.207, allocations: 468.2 kB / 0.8502 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=66): time 2.515e-06/0.207, allocations: 0 / 0.8502 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66): time 0.002868/0.2098, allocations: 1.064 MB / 0.8513 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.35e-05/0.2099, allocations: 123.4 kB / 0.8514 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004484/0.2104, allocations: 373.7 kB / 0.8517 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.517e-05/0.2104, allocations: 41.7 kB / 0.8518 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.2106, allocations: 229.3 kB / 0.852 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000208/0.2108, allocations: 238 kB / 0.8522 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002445/0.2111, allocations: 142.6 kB / 0.8524 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.2113, allocations: 358.8 kB / 0.8527 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008203/0.2121, allocations: 313.8 kB / 0.853 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009558/0.213, allocations: 494.3 kB / 0.8535 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.2148, allocations: 0.7248 MB / 0.8542 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2148, allocations: 0 / 0.8542 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002114/0.2169, allocations: 0.8638 MB / 0.855 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2169, allocations: 8 kB / 0.855 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.2169, allocations: 0 / 0.855 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.217, allocations: 8 kB / 0.855 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000986/0.2179, allocations: 191.9 kB / 0.8552 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.218, allocations: 11.92 kB / 0.8552 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006758/0.2186, allocations: 91.52 kB / 0.8553 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.859e-05/0.2187, allocations: 47.95 kB / 0.8554 GB, free: 0.5508 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.0002968/0.219, allocations: 208.7 kB / 0.8556 GB, free: 352 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.2191, allocations: 51.67 kB / 0.8556 GB, free: 300 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003095/0.2222, allocations: 1.12 MB / 0.8567 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.2222, allocations: 12 kB / 0.8567 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.2223, allocations: 3.938 kB / 0.8567 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.2223, allocations: 3.984 kB / 0.8567 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003568/0.2258, allocations: 1.637 MB / 0.8583 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2258, allocations: 3.938 kB / 0.8583 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009596/0.2268, allocations: 191.7 kB / 0.8585 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.2268, allocations: 7.938 kB / 0.8585 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.91e-05/0.2269, allocations: 31.97 kB / 0.8586 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2269, allocations: 3.938 kB / 0.8586 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2269, allocations: 0 / 0.8586 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/0.229, allocations: 1.013 MB / 0.8596 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003404/0.2294, allocations: 151.3 kB / 0.8597 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.2295, allocations: 19.98 kB / 0.8597 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006239/0.2301, allocations: 55.94 kB / 0.8598 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.2302, allocations: 60.89 kB / 0.8598 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.794e-05/0.2303, allocations: 31.97 kB / 0.8599 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003163/0.2306, allocations: 263.2 kB / 0.8601 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.2306, allocations: 0 / 0.8601 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000781/0.2314, allocations: 247.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.004394/0.2358, allocations: 2.061 MB / 0.8624 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001997/0.2378, allocations: 0.7723 MB / 0.8631 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.2378, allocations: 8.062 kB / 0.8631 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009829/0.2388, allocations: 437.4 kB / 0.8635 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005109/0.2393, allocations: 72.12 kB / 0.8636 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009126/0.2484, allocations: 5.186 MB / 0.8687 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.2487, allocations: 274.2 kB / 0.8689 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006919/0.2494, allocations: 176.6 kB / 0.8691 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004565/0.2498, allocations: 223.3 kB / 0.8693 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of SimCode: time 8.61e-07/0.2498, allocations: 4 kB / 0.8693 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07578/0.3256, allocations: 16.11 MB / 0.8851 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.9, allocations: 7.062 kB / 0.8851 GB, free: 2.172 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 BuildingSystems_BuildingSystems_Climate_Examples_TiltedRadiation.fmu > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.336868728045374] Failed to read output from testmodel.py, exit status != 0: 12.095144716091454 12.124676808 11.932992495 Calling exit ...