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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002111/0.002111, allocations: 188.5 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.6 MB / 251.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002408/0.002408, allocations: 301.1 kB / 307.1 MB, free: 8.441 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.178/1.178, allocations: 180.8 MB / 0.5304 GB, free: 14.56 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002829/0.002829, allocations: 108 kB / 0.7311 GB, free: 38.77 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1598, allocations: 94.2 MB / 0.8231 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.005643/0.1654, allocations: 3.836 MB / 0.8268 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006863/0.1723, allocations: 3.584 MB / 0.8303 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004393/0.1727, allocations: 11.88 kB / 0.8303 GB, free: 10.49 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-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 2.0.0-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 2.0.0-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.0006083/0.1733, allocations: 118.9 kB / 0.8304 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.1746, allocations: 477.4 kB / 0.8309 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008873/0.1755, allocations: 364.4 kB / 0.8312 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008718/0.1763, allocations: 0.776 MB / 0.832 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/0.1766, allocations: 138.4 kB / 0.8321 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004257/0.177, allocations: 326.8 kB / 0.8324 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005031/0.1775, allocations: 330.6 kB / 0.8328 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.1776, allocations: 68 kB / 0.8328 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.1786, allocations: 0.4955 MB / 0.8333 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002235/0.1789, allocations: 163.5 kB / 0.8335 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003672/0.1792, allocations: 342.2 kB / 0.8338 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.1807, allocations: 1.101 MB / 0.8349 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1808, allocations: 0 / 0.8349 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1808, allocations: 0 / 0.8349 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.1808, allocations: 7.984 kB / 0.8349 GB, free: 5.812 MB / 0.5762 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.002169/0.1829, allocations: 0.9575 MB / 0.8358 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.183, allocations: 8.625 kB / 0.8358 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003714/0.1867, allocations: 0.6287 MB / 0.8364 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.1882, allocations: 0.5737 MB / 0.837 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.1883, allocations: 130.6 kB / 0.8371 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-05/0.1884, allocations: 43.94 kB / 0.8372 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.1902, allocations: 0.7866 MB / 0.8379 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1902, allocations: 0 / 0.8379 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.259e-05/0.1903, allocations: 20 kB / 0.8379 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.1903, allocations: 12 kB / 0.838 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/0.1925, allocations: 0.7806 MB / 0.8387 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003756/0.1963, allocations: 1.865 MB / 0.8405 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003089/0.1994, allocations: 0.8338 MB / 0.8414 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.2004, allocations: 358.1 kB / 0.8417 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/0.2017, allocations: 208.2 kB / 0.8419 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001203/0.2029, allocations: 462 kB / 0.8423 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 2.885e-06/0.2029, allocations: 0 / 0.8423 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.007233/0.2101, allocations: 1.59 MB / 0.8439 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/0.2102, allocations: 111.3 kB / 0.844 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005641/0.2107, allocations: 426.2 kB / 0.8444 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.264e-05/0.2108, allocations: 41.64 kB / 0.8444 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.211, allocations: 277.2 kB / 0.8447 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.2113, allocations: 202.3 kB / 0.8449 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.2115, allocations: 126.2 kB / 0.845 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.2117, allocations: 358.8 kB / 0.8454 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009878/0.2127, allocations: 321.1 kB / 0.8457 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.2138, allocations: 0.4951 MB / 0.8461 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/0.2158, allocations: 0.7272 MB / 0.8469 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.2159, allocations: 0 / 0.8469 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003968/0.2198, allocations: 1.064 MB / 0.8479 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.2198, allocations: 11.94 kB / 0.8479 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.2198, allocations: 0 / 0.8479 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007828/0.2206, allocations: 148.9 kB / 0.848 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008523/0.2215, allocations: 163.7 kB / 0.8482 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005273/0.2268, allocations: 2.011 MB / 0.8502 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008842/0.2276, allocations: 99.55 kB / 0.8503 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/0.2277, allocations: 31.97 kB / 0.8503 GB, free: 5.531 MB / 0.5919 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.0004073/0.2281, allocations: 215 kB / 0.8505 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.2283, allocations: 55.62 kB / 0.8506 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003644/0.2319, allocations: 1.093 MB / 0.8516 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.2319, allocations: 7.938 kB / 0.8516 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.2319, allocations: 0 / 0.8516 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.2319, allocations: 7.984 kB / 0.8516 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004431/0.2363, allocations: 1.769 MB / 0.8534 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2364, allocations: 7.938 kB / 0.8534 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007931/0.2371, allocations: 147.8 kB / 0.8535 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006385/0.2378, allocations: 116.8 kB / 0.8536 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-05/0.2378, allocations: 23.97 kB / 0.8536 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004156/0.242, allocations: 1.867 MB / 0.8555 GB, free: 28 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.242, allocations: 0 / 0.8555 GB, free: 28 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003326/0.2453, allocations: 1.047 MB / 0.8565 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003354/0.2457, allocations: 139.4 kB / 0.8566 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.521e-05/0.2458, allocations: 11.98 kB / 0.8566 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006495/0.2464, allocations: 63.94 kB / 0.8567 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.2466, allocations: 52.55 kB / 0.8567 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/0.2466, allocations: 19.98 kB / 0.8568 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004103/0.247, allocations: 299.1 kB / 0.8571 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.247, allocations: 0 / 0.8571 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008296/0.2479, allocations: 255.2 kB / 0.8573 GB, free: 14.14 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.001738/0.2496, allocations: 0.5004 MB / 0.8578 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002515/0.2521, allocations: 0.8665 MB / 0.8586 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2521, allocations: 0 / 0.8586 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001593/0.2537, allocations: 0.5491 MB / 0.8592 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.2542, allocations: 76.48 kB / 0.8592 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.2569, allocations: 1.302 MB / 0.8605 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/0.2574, allocations: 0.8811 MB / 0.8614 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006055/0.258, allocations: 152.5 kB / 0.8615 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.2583, allocations: 75.38 kB / 0.8616 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of SimCode: time 9.12e-07/0.2583, allocations: 0 / 0.8616 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of Templates: time 0.02004/0.2783, allocations: 11.09 MB / 0.8724 GB, free: 14.77 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.37494312110357] Failed to read output from testmodel.py, exit status != 0: 0.286384484032169 0.301228786 0.11737818200000001 Calling exit ...