Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.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.001267/0.001267, 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.001442/0.001442, allocations: 220.5 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.34/1.34, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 179] 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.002395/0.002395, allocations: 285.6 kB / 313.5 MB, free: 2.859 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.13/1.13, 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.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") [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.002803/0.002803, allocations: 106.6 kB / 0.7408 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1752, allocations: 95.38 MB / 0.8339 GB, free: 8.199 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.005688/0.1809, allocations: 3.871 MB / 0.8377 GB, free: 4.309 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.005715/0.1866, allocations: 3.763 MB / 0.8414 GB, free: 0.5273 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003872/0.187, allocations: 11.88 kB / 0.8414 GB, free: 0.5156 MB / 0.5763 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Technologies/Photovoltaics/BaseClasses/PVModuleGeneral.mo:38:3-39:117:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Technologies/Photovoltaics/BaseClasses/OpticalModels/OpticalModelGeneral.mo:10:3-12:121:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/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.0004909/0.1875, allocations: 126.9 kB / 0.8415 GB, free: 400 kB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.1887, allocations: 0.5016 MB / 0.842 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008153/0.1895, allocations: 391.6 kB / 0.8424 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008344/0.1904, allocations: 0.7915 MB / 0.8431 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002581/0.1906, allocations: 142.4 kB / 0.8433 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004662/0.1911, allocations: 342.8 kB / 0.8436 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004943/0.1916, allocations: 338.6 kB / 0.8439 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-05/0.1917, allocations: 68 kB / 0.844 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.1927, allocations: 0.5658 MB / 0.8446 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.1929, allocations: 175.4 kB / 0.8447 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003127/0.1932, allocations: 338.2 kB / 0.845 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.1947, allocations: 1.187 MB / 0.8462 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1947, allocations: 4 kB / 0.8462 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1947, allocations: 0 / 0.8462 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.1947, allocations: 0 / 0.8462 GB, free: 11.56 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002082/0.1968, allocations: 0.9845 MB / 0.8472 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1968, allocations: 12.75 kB / 0.8472 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00373/0.2006, allocations: 0.6638 MB / 0.8478 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.202, allocations: 0.5738 MB / 0.8484 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.2022, allocations: 199.8 kB / 0.8486 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.241e-05/0.2023, allocations: 51.94 kB / 0.8486 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.2038, allocations: 0.7112 MB / 0.8493 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.2038, allocations: 4 kB / 0.8493 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.605e-05/0.2039, allocations: 23.98 kB / 0.8493 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.2039, allocations: 12 kB / 0.8494 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/0.206, allocations: 0.7767 MB / 0.8501 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00361/0.2096, allocations: 1.888 MB / 0.852 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002757/0.2123, allocations: 0.833 MB / 0.8528 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009788/0.2133, allocations: 366 kB / 0.8531 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/0.2144, allocations: 204.2 kB / 0.8533 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/0.2155, allocations: 458 kB / 0.8538 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 2.845e-06/0.2155, allocations: 0 / 0.8538 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.007133/0.2226, allocations: 1.606 MB / 0.8553 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.375e-05/0.2227, allocations: 107.3 kB / 0.8554 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005467/0.2233, allocations: 439.6 kB / 0.8558 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.745e-05/0.2233, allocations: 33.7 kB / 0.8559 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.2236, allocations: 289.1 kB / 0.8562 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.2237, allocations: 198.3 kB / 0.8563 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.224, allocations: 126.2 kB / 0.8565 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.2241, allocations: 362.8 kB / 0.8568 GB, free: 456 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008858/0.225, allocations: 321.1 kB / 0.8571 GB, free: 136 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.226, allocations: 451.6 kB / 0.8575 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001871/0.2279, allocations: 0.7272 MB / 0.8583 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.2279, allocations: 0 / 0.8583 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00391/0.2318, allocations: 1.087 MB / 0.8593 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.2319, allocations: 6.188 kB / 0.8593 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.2319, allocations: 4 kB / 0.8593 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007732/0.2326, allocations: 148.9 kB / 0.8595 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008242/0.2335, allocations: 159.7 kB / 0.8596 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004944/0.2384, allocations: 2.003 MB / 0.8616 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008362/0.2392, allocations: 95.56 kB / 0.8617 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-05/0.2393, allocations: 31.97 kB / 0.8617 GB, free: 11.22 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003452/0.2397, allocations: 219.8 kB / 0.8619 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.2398, allocations: 55.62 kB / 0.862 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003375/0.2432, allocations: 1.097 MB / 0.863 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.2432, allocations: 11.94 kB / 0.863 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.2432, allocations: 0 / 0.863 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.2432, allocations: 3.984 kB / 0.863 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00413/0.2473, allocations: 1.796 MB / 0.8648 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.2473, allocations: 0 / 0.8648 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007664/0.2481, allocations: 151.8 kB / 0.8649 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006575/0.2487, allocations: 124.7 kB / 0.8651 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-05/0.2488, allocations: 23.98 kB / 0.8651 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003826/0.2526, allocations: 1.851 MB / 0.8669 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2526, allocations: 0 / 0.8669 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003155/0.2558, allocations: 1.058 MB / 0.8679 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.2561, allocations: 139.3 kB / 0.8681 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.889e-05/0.2562, allocations: 12 kB / 0.8681 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006181/0.2568, allocations: 66.67 kB / 0.8681 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.257, allocations: 48.56 kB / 0.8682 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.879e-05/0.257, allocations: 23.97 kB / 0.8682 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004034/0.2574, allocations: 303.1 kB / 0.8685 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2574, allocations: 4 kB / 0.8685 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008224/0.2582, allocations: 271.2 kB / 0.8688 GB, free: 3.773 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 (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001826/0.2601, allocations: 0.5782 MB / 0.8693 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002303/0.2624, allocations: 0.8704 MB / 0.8702 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2624, allocations: 0 / 0.8702 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.2638, allocations: 0.5413 MB / 0.8707 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.2644, allocations: 80.11 kB / 0.8708 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.2669, allocations: 1.361 MB / 0.8721 GB, free: 452 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/0.2675, allocations: 0.8811 MB / 0.873 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.2678, allocations: 87.38 kB / 0.8731 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of SimCode: time 6.72e-07/0.2678, allocations: 0 / 0.8731 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of Templates: time 0.01849/0.2863, allocations: 13.62 MB / 0.8864 GB, free: 1.859 MB / 0.6231 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.188588256016374] Failed to read output from testmodel.py, exit status != 0: 0.2939955180045217 0.30843373099999993 0.11080919900000001 Calling exit ...