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.001408/0.001408, allocations: 119.5 kB / 17.13 MB, free: 5.758 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.001445/0.001445, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.328/1.328, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.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.002287/0.002287, allocations: 279.6 kB / 303.6 MB, free: 3.699 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 0.9859/0.9859, allocations: 180.9 MB / 0.5268 GB, free: 2.711 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.002755/0.002755, allocations: 103.8 kB / 0.7259 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4675/0.4702, allocations: 94.16 MB / 0.8178 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.004229/0.4745, allocations: 3.803 MB / 0.8215 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003895/0.4784, allocations: 3.481 MB / 0.8249 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002605/0.4786, allocations: 13.22 kB / 0.825 GB, free: 2.277 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.0004586/0.4791, allocations: 123.4 kB / 0.8251 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009481/0.48, allocations: 468.4 kB / 0.8255 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007231/0.4808, allocations: 369.9 kB / 0.8259 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006423/0.4814, allocations: 0.7721 MB / 0.8266 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.4816, allocations: 143.9 kB / 0.8268 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/0.4819, allocations: 326.8 kB / 0.8271 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004362/0.4824, allocations: 330.8 kB / 0.8274 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.219e-05/0.4825, allocations: 65.72 kB / 0.8275 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007594/0.4832, allocations: 0.5025 MB / 0.8279 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.4834, allocations: 176.5 kB / 0.8281 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002232/0.4836, allocations: 324.2 kB / 0.8284 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.4847, allocations: 1.111 MB / 0.8295 GB, free: 48 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4847, allocations: 0 / 0.8295 GB, free: 48 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4847, allocations: 0 / 0.8295 GB, free: 48 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.4847, allocations: 0.6094 kB / 0.8295 GB, free: 48 kB / 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.001956/0.4867, allocations: 1.042 MB / 0.8305 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.4867, allocations: 10.53 kB / 0.8305 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003299/0.49, allocations: 0.6219 MB / 0.8311 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.4914, allocations: 0.6401 MB / 0.8318 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.4915, allocations: 120.5 kB / 0.8319 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.634e-05/0.4916, allocations: 49.62 kB / 0.8319 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.4932, allocations: 0.7137 MB / 0.8326 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.4932, allocations: 6.156 kB / 0.8326 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.924e-05/0.4933, allocations: 19.06 kB / 0.8327 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.4933, allocations: 12.44 kB / 0.8327 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.4953, allocations: 0.7717 MB / 0.8334 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003334/0.4986, allocations: 1.908 MB / 0.8353 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002725/0.5013, allocations: 0.8253 MB / 0.8361 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009972/0.5023, allocations: 354.5 kB / 0.8364 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00197/0.5043, allocations: 1.764 MB / 0.8382 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/0.5055, allocations: 459.3 kB / 0.8386 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 2.324e-06/0.5055, allocations: 0 / 0.8386 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.007106/0.5126, allocations: 1.671 MB / 0.8402 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/0.5127, allocations: 114.5 kB / 0.8403 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006294/0.5133, allocations: 421.6 kB / 0.8407 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.849e-05/0.5134, allocations: 36.45 kB / 0.8408 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.5136, allocations: 283.7 kB / 0.841 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.5138, allocations: 199.9 kB / 0.8412 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.5141, allocations: 126.5 kB / 0.8413 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.5143, allocations: 362.9 kB / 0.8417 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009364/0.5152, allocations: 319.1 kB / 0.842 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.5162, allocations: 455.6 kB / 0.8424 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.5181, allocations: 0.7306 MB / 0.8431 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.5181, allocations: 9.375 kB / 0.8432 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003756/0.5219, allocations: 1.069 MB / 0.8442 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.5219, allocations: 8.266 kB / 0.8442 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.5219, allocations: 2.875 kB / 0.8442 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000706/0.5226, allocations: 143.4 kB / 0.8443 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007953/0.5234, allocations: 164.7 kB / 0.8445 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004989/0.5284, allocations: 2.107 MB / 0.8466 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000809/0.5292, allocations: 102 kB / 0.8467 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-05/0.5293, allocations: 31.62 kB / 0.8467 GB, free: 6.137 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.0004016/0.5297, allocations: 210 kB / 0.8469 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.5299, allocations: 60.91 kB / 0.8469 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003551/0.5334, allocations: 1.091 MB / 0.848 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.5334, allocations: 12.62 kB / 0.848 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5334, allocations: 0 / 0.848 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.5334, allocations: 3.375 kB / 0.848 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004391/0.5378, allocations: 1.801 MB / 0.8498 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.5378, allocations: 0 / 0.8498 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000755/0.5386, allocations: 153.9 kB / 0.8499 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005996/0.5392, allocations: 119.3 kB / 0.85 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.554e-05/0.5393, allocations: 19.16 kB / 0.8501 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003977/0.5432, allocations: 1.963 MB / 0.852 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.5432, allocations: 7.922 kB / 0.852 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003112/0.5464, allocations: 1.044 MB / 0.853 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003321/0.5467, allocations: 214.2 kB / 0.8532 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.5468, allocations: 22.81 kB / 0.8532 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006424/0.5474, allocations: 63.42 kB / 0.8533 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.5476, allocations: 46.66 kB / 0.8533 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.11e-05/0.5476, allocations: 23.83 kB / 0.8534 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003943/0.548, allocations: 300.9 kB / 0.8537 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.548, allocations: 0 / 0.8537 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009042/0.5489, allocations: 252.2 kB / 0.8539 GB, free: 1.754 MB / 0.5919 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.001676/0.5506, allocations: 0.496 MB / 0.8544 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00237/0.553, allocations: 0.8669 MB / 0.8552 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.553, allocations: 0 / 0.8552 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00151/0.5545, allocations: 0.5548 MB / 0.8558 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.555, allocations: 70.94 kB / 0.8558 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.5576, allocations: 1.337 MB / 0.8571 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/0.5582, allocations: 0.8887 MB / 0.858 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/0.5585, allocations: 84.55 kB / 0.8581 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.5585, allocations: 1.125 kB / 0.8581 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of Templates: time 0.02019/0.5787, allocations: 13.12 MB / 0.8709 GB, free: 8.039 MB / 0.6075 GB " [Timeout remaining time 659] 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: 8.910332959145308] Failed to read output from testmodel.py, exit status != 0: 0.5866644082125276 0.598595239 0.111280345 Calling exit ...