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.001542/0.001542, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001451/0.001451, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.002631/0.002631, allocations: 289 kB / 313.5 MB, free: 2.781 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.186/1.186, allocations: 180.6 MB / 0.5377 GB, free: 12.97 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: translateModel(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") translateModel(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") [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.002858/0.002858, allocations: 106.8 kB / 0.7408 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.206, allocations: 95.38 MB / 0.8339 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.00536/0.2114, allocations: 3.136 MB / 0.837 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006512/0.2179, allocations: 3.537 MB / 0.8404 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002487/0.2181, allocations: 4 kB / 0.8404 GB, free: 1.449 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.0004292/0.2186, allocations: 71.3 kB / 0.8405 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.22, allocations: 481.6 kB / 0.841 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.2211, allocations: 400.5 kB / 0.8413 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009356/0.222, allocations: 0.7181 MB / 0.842 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.2223, allocations: 86.75 kB / 0.8421 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004404/0.2227, allocations: 303.1 kB / 0.8424 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005274/0.2232, allocations: 326.8 kB / 0.8427 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.2233, allocations: 64 kB / 0.8428 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.2243, allocations: 0.5658 MB / 0.8433 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.2245, allocations: 175.4 kB / 0.8435 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.2248, allocations: 294.5 kB / 0.8438 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.2261, allocations: 1.051 MB / 0.8448 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2261, allocations: 3.938 kB / 0.8448 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of FrontEnd: time 5.991e-06/0.2261, allocations: 7.938 kB / 0.8448 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.2262, allocations: 0 / 0.8448 GB, free: 12.93 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.002113/0.2283, allocations: 0.8879 MB / 0.8457 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.2283, allocations: 9.938 kB / 0.8457 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00342/0.2317, allocations: 0.578 MB / 0.8463 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.2331, allocations: 0.5092 MB / 0.8468 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003137/0.2334, allocations: 362 kB / 0.8471 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.341e-05/0.2335, allocations: 43.94 kB / 0.8472 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.235, allocations: 0.6752 MB / 0.8478 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.235, allocations: 0 / 0.8478 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.68e-05/0.235, allocations: 20 kB / 0.8478 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.2351, allocations: 12 kB / 0.8478 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/0.2369, allocations: 0.7766 MB / 0.8486 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003639/0.2406, allocations: 1.7 MB / 0.8503 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003039/0.2436, allocations: 0.8992 MB / 0.8511 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008278/0.2444, allocations: 338.6 kB / 0.8515 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/0.2456, allocations: 204.4 kB / 0.8517 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.2467, allocations: 460.1 kB / 0.8521 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=66): time 2.224e-06/0.2467, allocations: 0 / 0.8521 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66): time 0.002826/0.2495, allocations: 1.065 MB / 0.8531 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.707e-05/0.2496, allocations: 115.5 kB / 0.8532 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/0.2501, allocations: 377.6 kB / 0.8536 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.837e-05/0.2501, allocations: 41.7 kB / 0.8536 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.2503, allocations: 221.4 kB / 0.8539 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.2505, allocations: 238 kB / 0.8541 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/0.2508, allocations: 146.5 kB / 0.8542 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.251, allocations: 358.8 kB / 0.8546 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007971/0.2518, allocations: 309.8 kB / 0.8549 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009282/0.2527, allocations: 453.4 kB / 0.8553 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.2544, allocations: 0.7248 MB / 0.856 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2544, allocations: 0 / 0.856 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002077/0.2565, allocations: 0.8559 MB / 0.8568 GB, free: 276 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.2565, allocations: 4.312 kB / 0.8568 GB, free: 272 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.2565, allocations: 8 kB / 0.8569 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.2566, allocations: 4 kB / 0.8569 GB, free: 260 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.2576, allocations: 191.7 kB / 0.857 GB, free: 68 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.2576, allocations: 11.94 kB / 0.857 GB, free: 56 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000714/0.2583, allocations: 100.2 kB / 0.8571 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.969e-05/0.2584, allocations: 35.97 kB / 0.8572 GB, free: 15.92 MB / 0.6075 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.0003408/0.2587, allocations: 202.3 kB / 0.8574 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.2588, allocations: 51.67 kB / 0.8574 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/0.2616, allocations: 1.124 MB / 0.8585 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.2616, allocations: 8 kB / 0.8585 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.2616, allocations: 3.938 kB / 0.8585 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.2616, allocations: 3.984 kB / 0.8585 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003254/0.2649, allocations: 1.746 MB / 0.8602 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.2649, allocations: 0 / 0.8602 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00097/0.2658, allocations: 191.7 kB / 0.8604 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.2658, allocations: 11.94 kB / 0.8604 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.821e-05/0.2659, allocations: 27.97 kB / 0.8605 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.2659, allocations: 4 kB / 0.8605 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2659, allocations: 0 / 0.8605 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.2681, allocations: 1.006 MB / 0.8614 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003349/0.2684, allocations: 151.3 kB / 0.8616 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.2685, allocations: 19.94 kB / 0.8616 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006504/0.2692, allocations: 55.88 kB / 0.8617 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.2693, allocations: 64.88 kB / 0.8617 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.11e-05/0.2694, allocations: 31.97 kB / 0.8618 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003207/0.2697, allocations: 259.2 kB / 0.862 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2697, allocations: 4 kB / 0.862 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008465/0.2705, allocations: 251.4 kB / 0.8622 GB, free: 10.65 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.001917/0.2725, allocations: 0.5764 MB / 0.8628 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002014/0.2745, allocations: 0.7798 MB / 0.8636 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2745, allocations: 0 / 0.8636 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009722/0.2754, allocations: 437.7 kB / 0.864 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000497/0.2759, allocations: 72.7 kB / 0.8641 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.2783, allocations: 1.205 MB / 0.8652 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/0.2788, allocations: 0.8701 MB / 0.8661 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003909/0.2792, allocations: 103.3 kB / 0.8662 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.2792, allocations: 0 / 0.8662 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of Templates: time 0.01703/0.2962, allocations: 10.75 MB / 0.8767 GB, free: 11.96 MB / 0.6231 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.150352560216561] Failed to read output from testmodel.py, exit status != 0: 0.3044894668273628 0.320163192 0.090885749 Calling exit ...