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.001616/0.001616, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001752/0.001752, allocations: 216.6 kB / 22.99 MB, free: 4.945 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002576/0.002576, allocations: 288.1 kB / 313.5 MB, free: 2.684 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.222/1.222, allocations: 180.6 MB / 0.5377 GB, free: 14.53 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.003049/0.003049, allocations: 103.2 kB / 0.7407 GB, free: 27.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1727, allocations: 95.38 MB / 0.8338 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004696/0.1774, allocations: 2.906 MB / 0.8367 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005685/0.183, allocations: 3.308 MB / 0.8399 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.1833, allocations: 7.938 kB / 0.8399 GB, free: 1.566 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.0003711/0.1836, allocations: 79.3 kB / 0.84 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.185, allocations: 477.6 kB / 0.8404 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009114/0.1859, allocations: 394.5 kB / 0.8408 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008057/0.1867, allocations: 0.7181 MB / 0.8415 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.1869, allocations: 78.77 kB / 0.8416 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004338/0.1873, allocations: 311 kB / 0.8419 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004922/0.1878, allocations: 298.8 kB / 0.8422 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.1879, allocations: 64 kB / 0.8422 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.189, allocations: 0.5346 MB / 0.8427 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.1892, allocations: 175.4 kB / 0.8429 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.1894, allocations: 246.8 kB / 0.8431 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.1908, allocations: 1.047 MB / 0.8442 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1908, allocations: 4 kB / 0.8442 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1908, allocations: 0 / 0.8442 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.1908, allocations: 0 / 0.8442 GB, free: 13.16 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.002088/0.1929, allocations: 0.8839 MB / 0.845 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.1929, allocations: 9.344 kB / 0.845 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00349/0.1964, allocations: 0.5819 MB / 0.8456 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.1979, allocations: 0.5054 MB / 0.8461 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003065/0.1982, allocations: 361.9 kB / 0.8465 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.913e-05/0.1983, allocations: 47.94 kB / 0.8465 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.1999, allocations: 0.7545 MB / 0.8472 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.1999, allocations: 0 / 0.8472 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.939e-05/0.1999, allocations: 20 kB / 0.8473 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.2, allocations: 8 kB / 0.8473 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.2019, allocations: 0.7572 MB / 0.848 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003648/0.2056, allocations: 1.51 MB / 0.8495 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003167/0.2087, allocations: 0.8972 MB / 0.8504 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008575/0.2096, allocations: 334.6 kB / 0.8507 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/0.2107, allocations: 200.4 kB / 0.8509 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.2118, allocations: 460.1 kB / 0.8513 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=66): time 2.815e-06/0.2118, allocations: 0 / 0.8513 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66): time 0.002956/0.2148, allocations: 1.077 MB / 0.8524 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/0.2149, allocations: 115.4 kB / 0.8525 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/0.2154, allocations: 357.7 kB / 0.8528 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.434e-05/0.2154, allocations: 37.7 kB / 0.8528 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.2156, allocations: 221.3 kB / 0.8531 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.2158, allocations: 238 kB / 0.8533 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/0.2161, allocations: 142.6 kB / 0.8534 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.2163, allocations: 362.7 kB / 0.8538 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008499/0.2171, allocations: 325.7 kB / 0.8541 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00099/0.2181, allocations: 489 kB / 0.8545 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/0.2199, allocations: 0.7247 MB / 0.8552 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2199, allocations: 0 / 0.8552 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002153/0.2221, allocations: 0.8677 MB / 0.8561 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2221, allocations: 4 kB / 0.8561 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.2221, allocations: 4 kB / 0.8561 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.2221, allocations: 8 kB / 0.8561 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.2232, allocations: 187.7 kB / 0.8563 GB, free: 384 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.2232, allocations: 4.188 kB / 0.8563 GB, free: 380 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006873/0.2239, allocations: 96.53 kB / 0.8564 GB, free: 284 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.969e-05/0.224, allocations: 39.95 kB / 0.8564 GB, free: 244 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.0003035/0.2243, allocations: 204.5 kB / 0.8566 GB, free: 32 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.2244, allocations: 51.86 kB / 0.8567 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002856/0.2272, allocations: 1.116 MB / 0.8578 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.2273, allocations: 12 kB / 0.8578 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.2273, allocations: 0 / 0.8578 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.2273, allocations: 11.72 kB / 0.8578 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003236/0.2305, allocations: 1.571 MB / 0.8593 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.2305, allocations: 3.984 kB / 0.8593 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.2315, allocations: 195.7 kB / 0.8595 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.2315, allocations: 4 kB / 0.8595 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.049e-05/0.2316, allocations: 23.98 kB / 0.8595 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/0.2316, allocations: 11.92 kB / 0.8595 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2316, allocations: 3.984 kB / 0.8595 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/0.2338, allocations: 1.006 MB / 0.8605 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/0.2341, allocations: 143.3 kB / 0.8607 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.977e-05/0.2342, allocations: 23.94 kB / 0.8607 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006327/0.2349, allocations: 59.88 kB / 0.8607 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.235, allocations: 60.81 kB / 0.8608 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/0.2351, allocations: 31.98 kB / 0.8608 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002971/0.2354, allocations: 255.2 kB / 0.8611 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2354, allocations: 0 / 0.8611 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000763/0.2362, allocations: 251.4 kB / 0.8613 GB, free: 11.16 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.002002/0.2382, allocations: 0.5922 MB / 0.8619 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00203/0.2402, allocations: 0.7838 MB / 0.8627 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2402, allocations: 0 / 0.8627 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.2412, allocations: 437.7 kB / 0.8631 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.2417, allocations: 72.22 kB / 0.8631 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.2441, allocations: 1.205 MB / 0.8643 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.2443, allocations: 266.2 kB / 0.8646 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003824/0.2447, allocations: 107.3 kB / 0.8647 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.2447, allocations: 0 / 0.8647 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of Templates: time 0.01655/0.2613, allocations: 10.89 MB / 0.8753 GB, free: 12.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.283938815351576] Failed to read output from testmodel.py, exit status != 0: 0.26893280586227775 0.28370001499999997 0.08978691199999994 Calling exit ...