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.001857/0.001857, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002133/0.002133, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.797 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.002607/0.002607, allocations: 285.5 kB / 312.7 MB, free: 2.598 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.259/1.259, allocations: 180.6 MB / 0.5369 GB, free: 14.66 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.003165/0.003165, allocations: 105.3 kB / 0.7399 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1628, allocations: 95.38 MB / 0.8331 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004568/0.1674, allocations: 2.908 MB / 0.8359 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0054/0.1728, allocations: 3.312 MB / 0.8392 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.1729, allocations: 4 kB / 0.8392 GB, free: 1.598 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.0003154/0.1732, allocations: 75.3 kB / 0.8392 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.1744, allocations: 485.5 kB / 0.8397 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000883/0.1753, allocations: 393.1 kB / 0.8401 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008144/0.1761, allocations: 0.7181 MB / 0.8408 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.1763, allocations: 78.77 kB / 0.8408 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004331/0.1767, allocations: 307 kB / 0.8411 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00048/0.1772, allocations: 306.7 kB / 0.8414 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.1773, allocations: 64 kB / 0.8415 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009401/0.1783, allocations: 0.5346 MB / 0.842 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002052/0.1785, allocations: 175.4 kB / 0.8422 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.1787, allocations: 242.8 kB / 0.8424 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.18, allocations: 1.051 MB / 0.8434 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.18, allocations: 0 / 0.8434 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.413e-06/0.18, allocations: 0 / 0.8434 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.18, allocations: 4 kB / 0.8434 GB, free: 13.19 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.001998/0.182, allocations: 0.8801 MB / 0.8443 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1821, allocations: 9.344 kB / 0.8443 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003487/0.1856, allocations: 0.5819 MB / 0.8449 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.187, allocations: 0.5092 MB / 0.8454 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003082/0.1873, allocations: 354 kB / 0.8457 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.1874, allocations: 47.94 kB / 0.8458 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.189, allocations: 0.7544 MB / 0.8465 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.189, allocations: 4 kB / 0.8465 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.23e-05/0.189, allocations: 20 kB / 0.8465 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.1891, allocations: 8 kB / 0.8465 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.1911, allocations: 0.7611 MB / 0.8473 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003549/0.1946, allocations: 1.502 MB / 0.8487 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00321/0.1978, allocations: 0.9093 MB / 0.8496 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008758/0.1987, allocations: 330.6 kB / 0.8499 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/0.1999, allocations: 204.4 kB / 0.8501 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/0.201, allocations: 456.1 kB / 0.8506 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=66): time 3.156e-06/0.201, allocations: 0 / 0.8506 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66): time 0.003049/0.2041, allocations: 1.077 MB / 0.8516 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.609e-05/0.2041, allocations: 107.5 kB / 0.8517 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004678/0.2046, allocations: 361.7 kB / 0.8521 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.761e-05/0.2047, allocations: 37.7 kB / 0.8521 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.2049, allocations: 225.3 kB / 0.8523 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.2051, allocations: 234 kB / 0.8525 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002626/0.2054, allocations: 146.5 kB / 0.8527 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.2055, allocations: 358.7 kB / 0.853 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008849/0.2064, allocations: 317.8 kB / 0.8533 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.2074, allocations: 492.9 kB / 0.8538 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/0.2093, allocations: 0.7325 MB / 0.8545 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2093, allocations: 0 / 0.8545 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002226/0.2116, allocations: 0.8599 MB / 0.8554 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.2116, allocations: 4 kB / 0.8554 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.2116, allocations: 4 kB / 0.8554 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.2116, allocations: 7.938 kB / 0.8554 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.2127, allocations: 191.7 kB / 0.8556 GB, free: 420 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.2127, allocations: 8.188 kB / 0.8556 GB, free: 412 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006992/0.2134, allocations: 91.5 kB / 0.8556 GB, free: 320 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.682e-05/0.2135, allocations: 39.95 kB / 0.8557 GB, free: 280 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.0002994/0.2138, allocations: 200.5 kB / 0.8559 GB, free: 72 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.2139, allocations: 51.67 kB / 0.8559 GB, free: 20 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/0.2169, allocations: 1.12 MB / 0.857 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.2169, allocations: 19.98 kB / 0.857 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2169, allocations: 0 / 0.857 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.2169, allocations: 7.922 kB / 0.857 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00333/0.2203, allocations: 1.571 MB / 0.8586 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.2203, allocations: 0 / 0.8586 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.2213, allocations: 195.7 kB / 0.8588 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.2213, allocations: 4 kB / 0.8588 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-05/0.2214, allocations: 27.97 kB / 0.8588 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.2214, allocations: 3.938 kB / 0.8588 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2214, allocations: 4 kB / 0.8588 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.2237, allocations: 1.006 MB / 0.8598 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/0.224, allocations: 143.3 kB / 0.8599 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.2241, allocations: 20 kB / 0.8599 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006689/0.2248, allocations: 55.88 kB / 0.86 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.2249, allocations: 68.81 kB / 0.8601 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.305e-05/0.225, allocations: 27.98 kB / 0.8601 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003125/0.2253, allocations: 255.2 kB / 0.8603 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2253, allocations: 0 / 0.8603 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008111/0.2261, allocations: 251.4 kB / 0.8606 GB, free: 11.2 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.002059/0.2282, allocations: 0.5978 MB / 0.8612 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002105/0.2303, allocations: 0.7799 MB / 0.8619 GB, free: 10 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2303, allocations: 0 / 0.8619 GB, free: 10 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.2313, allocations: 441.7 kB / 0.8623 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.2319, allocations: 72.22 kB / 0.8624 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.2342, allocations: 1.168 MB / 0.8635 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.2345, allocations: 274.2 kB / 0.8638 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007222/0.2353, allocations: 172.5 kB / 0.864 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/0.2356, allocations: 83.38 kB / 0.8641 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.2356, allocations: 0 / 0.8641 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of Templates: time 0.01942/0.255, allocations: 10.43 MB / 0.8742 GB, free: 13.39 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: 6.5783326886594296] Failed to read output from testmodel.py, exit status != 0: 0.2625469956547022 0.27756859 0.094534694 Calling exit ...