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.001277/0.001277, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001438/0.001438, allocations: 222.8 kB / 23 MB, free: 4.914 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.371/1.371, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.002493/0.002493, allocations: 290.1 kB / 313.5 MB, free: 2.621 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.178/1.178, allocations: 180.6 MB / 0.5377 GB, free: 14.64 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.002897/0.002897, allocations: 105.8 kB / 0.7407 GB, free: 27.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1696, allocations: 95.38 MB / 0.8338 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.00536/0.175, allocations: 3.55 MB / 0.8373 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005607/0.1806, allocations: 3.502 MB / 0.8407 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003324/0.1809, allocations: 15.88 kB / 0.8407 GB, free: 0.6328 MB / 0.5762 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.0005108/0.1814, allocations: 130.9 kB / 0.8409 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.1828, allocations: 0.5091 MB / 0.8414 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008432/0.1836, allocations: 378 kB / 0.8417 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008971/0.1845, allocations: 0.7915 MB / 0.8425 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.1848, allocations: 130.4 kB / 0.8426 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004617/0.1852, allocations: 342.7 kB / 0.8429 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004611/0.1857, allocations: 306.6 kB / 0.8432 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.1858, allocations: 68 kB / 0.8433 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009576/0.1868, allocations: 0.5424 MB / 0.8438 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.187, allocations: 179.3 kB / 0.844 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002629/0.1872, allocations: 266.6 kB / 0.8443 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.1887, allocations: 1.191 MB / 0.8454 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1887, allocations: 0 / 0.8454 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1887, allocations: 0 / 0.8454 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.1887, allocations: 0 / 0.8454 GB, free: 11.81 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.001981/0.1906, allocations: 0.9884 MB / 0.8464 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1907, allocations: 12.75 kB / 0.8464 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003707/0.1944, allocations: 0.6599 MB / 0.847 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.1958, allocations: 0.5738 MB / 0.8476 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.196, allocations: 199.8 kB / 0.8478 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-05/0.1961, allocations: 47.94 kB / 0.8478 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.1977, allocations: 0.7943 MB / 0.8486 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.1977, allocations: 3.938 kB / 0.8486 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.37e-05/0.1978, allocations: 20 kB / 0.8486 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.1978, allocations: 12 kB / 0.8486 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.1998, allocations: 0.7689 MB / 0.8494 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003286/0.2031, allocations: 1.671 MB / 0.851 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002743/0.2059, allocations: 0.8341 MB / 0.8518 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009666/0.2068, allocations: 362.1 kB / 0.8522 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/0.2079, allocations: 196.3 kB / 0.8524 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.209, allocations: 461.9 kB / 0.8528 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 2.325e-06/0.209, allocations: 0 / 0.8528 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.00687/0.2158, allocations: 1.606 MB / 0.8544 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/0.2159, allocations: 119.2 kB / 0.8545 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005557/0.2165, allocations: 439.5 kB / 0.8549 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.084e-05/0.2165, allocations: 33.7 kB / 0.855 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.2168, allocations: 281.2 kB / 0.8552 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.217, allocations: 206.2 kB / 0.8554 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.2172, allocations: 126.2 kB / 0.8555 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.2174, allocations: 366.7 kB / 0.8559 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009165/0.2183, allocations: 325.1 kB / 0.8562 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.2193, allocations: 499.1 kB / 0.8567 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.2212, allocations: 0.7272 MB / 0.8574 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.2212, allocations: 4 kB / 0.8574 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003819/0.2251, allocations: 1.068 MB / 0.8584 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.2251, allocations: 8 kB / 0.8584 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.2251, allocations: 4 kB / 0.8584 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000732/0.2258, allocations: 141 kB / 0.8586 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007939/0.2266, allocations: 163.7 kB / 0.8587 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004851/0.2315, allocations: 1.972 MB / 0.8607 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000798/0.2323, allocations: 99.5 kB / 0.8608 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-05/0.2323, allocations: 31.97 kB / 0.8608 GB, free: 11.6 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.0003602/0.2327, allocations: 222.2 kB / 0.861 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.2328, allocations: 55.67 kB / 0.861 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003445/0.2363, allocations: 1.101 MB / 0.8621 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.2363, allocations: 8 kB / 0.8621 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.2363, allocations: 0 / 0.8621 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.2363, allocations: 7.922 kB / 0.8621 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004085/0.2404, allocations: 1.621 MB / 0.8637 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2404, allocations: 0 / 0.8637 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007558/0.2411, allocations: 151.8 kB / 0.8639 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006503/0.2418, allocations: 120.7 kB / 0.864 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.757e-05/0.2418, allocations: 19.97 kB / 0.864 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003842/0.2457, allocations: 1.824 MB / 0.8658 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.2457, allocations: 3.938 kB / 0.8658 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003131/0.2488, allocations: 1.051 MB / 0.8668 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003539/0.2492, allocations: 147.2 kB / 0.867 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.958e-05/0.2492, allocations: 16 kB / 0.867 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006185/0.2499, allocations: 59.94 kB / 0.867 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.25, allocations: 52.55 kB / 0.8671 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-05/0.25, allocations: 24.12 kB / 0.8671 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003824/0.2504, allocations: 303.1 kB / 0.8674 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.2504, allocations: 0 / 0.8674 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000811/0.2512, allocations: 263.4 kB / 0.8676 GB, free: 4.383 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.001899/0.2531, allocations: 0.6063 MB / 0.8682 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00232/0.2555, allocations: 0.8666 MB / 0.8691 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2555, allocations: 0 / 0.8691 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001501/0.257, allocations: 0.5491 MB / 0.8696 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004988/0.2575, allocations: 71.95 kB / 0.8697 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.26, allocations: 1.357 MB / 0.871 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.2603, allocations: 290.7 kB / 0.8713 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/0.2606, allocations: 83.38 kB / 0.8714 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.2606, allocations: 0 / 0.8714 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of Templates: time 0.01856/0.2792, allocations: 13.85 MB / 0.8849 GB, free: 2.844 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.205825900193304] Failed to read output from testmodel.py, exit status != 0: 0.2866485263220966 0.300651213 0.10911973499999994 Calling exit ...