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.001337/0.001337, allocations: 78.34 kB / 19 MB, free: 2.867 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.001447/0.001447, allocations: 158.7 kB / 22.25 MB, free: 5.133 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.397/1.397, allocations: 177.2 MB / 202.6 MB, free: 9.277 MB / 190.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.002547/0.002547, allocations: 234.4 kB / 259.2 MB, free: 0.5898 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.061/1.061, allocations: 138.5 MB / 454.2 MB, free: 2.066 MB / 366.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.003197/0.003197, allocations: 103.8 kB / 0.6466 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4043, allocations: 95.35 MB / 0.7397 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.005797/0.4101, allocations: 3.55 MB / 0.7431 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006145/0.4163, allocations: 3.51 MB / 0.7466 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004907/0.4168, allocations: 15.88 kB / 0.7466 GB, free: 8.141 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.0006015/0.4174, allocations: 120 kB / 0.7467 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001642/0.419, allocations: 0.509 MB / 0.7472 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.4201, allocations: 375.2 kB / 0.7476 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.4216, allocations: 0.7954 MB / 0.7483 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000421/0.422, allocations: 134.4 kB / 0.7485 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.423, allocations: 490.7 kB / 0.7489 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000687/0.4237, allocations: 318.5 kB / 0.7492 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.4238, allocations: 64 kB / 0.7493 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.425, allocations: 0.5424 MB / 0.7498 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.4253, allocations: 175.5 kB / 0.75 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00037/0.4256, allocations: 266.6 kB / 0.7502 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.4275, allocations: 1.187 MB / 0.7514 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4275, allocations: 0 / 0.7514 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4275, allocations: 0 / 0.7514 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.984e-05/0.4276, allocations: 0 / 0.7514 GB, free: 3.184 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.002572/0.4301, allocations: 0.9884 MB / 0.7524 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.4302, allocations: 8.75 kB / 0.7524 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004128/0.4343, allocations: 0.6638 MB / 0.753 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.4359, allocations: 0.5776 MB / 0.7536 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.4361, allocations: 203.8 kB / 0.7538 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.963e-05/0.4362, allocations: 47.94 kB / 0.7538 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.438, allocations: 0.7905 MB / 0.7546 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.438, allocations: 0 / 0.7546 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.048e-05/0.4381, allocations: 23.98 kB / 0.7546 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.4381, allocations: 12 kB / 0.7546 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.4404, allocations: 0.7728 MB / 0.7554 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003878/0.4442, allocations: 1.671 MB / 0.757 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003034/0.4473, allocations: 0.8316 MB / 0.7578 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.4484, allocations: 358.1 kB / 0.7582 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00125/0.4496, allocations: 192.3 kB / 0.7584 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00125/0.4509, allocations: 462 kB / 0.7588 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 2.965e-06/0.4509, allocations: 0 / 0.7588 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.007984/0.4589, allocations: 1.606 MB / 0.7604 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.459, allocations: 115.3 kB / 0.7605 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007692/0.4597, allocations: 442.1 kB / 0.7609 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.987e-05/0.4598, allocations: 33.7 kB / 0.7609 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.4601, allocations: 285.1 kB / 0.7612 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.4603, allocations: 206.2 kB / 0.7614 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.4606, allocations: 130.2 kB / 0.7615 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002198/0.4608, allocations: 362.7 kB / 0.7619 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.4619, allocations: 321.1 kB / 0.7622 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.4631, allocations: 0.4951 MB / 0.7627 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002105/0.4652, allocations: 0.7272 MB / 0.7634 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.4652, allocations: 4 kB / 0.7634 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004465/0.4697, allocations: 1.072 MB / 0.7644 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.4697, allocations: 8 kB / 0.7644 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.4697, allocations: 4 kB / 0.7644 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008727/0.4706, allocations: 141 kB / 0.7646 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008959/0.4715, allocations: 163.7 kB / 0.7647 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005612/0.4771, allocations: 1.97 MB / 0.7666 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009546/0.478, allocations: 99.55 kB / 0.7667 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.4782, allocations: 31.97 kB / 0.7668 GB, free: 2.973 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.0004907/0.4787, allocations: 209.6 kB / 0.767 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.4789, allocations: 59.67 kB / 0.767 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003869/0.4827, allocations: 1.097 MB / 0.7681 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.4827, allocations: 8 kB / 0.7681 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.4828, allocations: 0 / 0.7681 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.4828, allocations: 7.922 kB / 0.7681 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004668/0.4874, allocations: 1.625 MB / 0.7697 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.4874, allocations: 0 / 0.7697 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008488/0.4883, allocations: 151.8 kB / 0.7698 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007135/0.489, allocations: 116.8 kB / 0.77 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.671e-05/0.4891, allocations: 19.92 kB / 0.77 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004273/0.4933, allocations: 1.825 MB / 0.7718 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.4933, allocations: 3.938 kB / 0.7718 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00357/0.4969, allocations: 1.051 MB / 0.7728 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003963/0.4973, allocations: 143.2 kB / 0.7729 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.4974, allocations: 16 kB / 0.7729 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000752/0.4982, allocations: 67.86 kB / 0.773 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.4983, allocations: 48.56 kB / 0.7731 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.919e-05/0.4984, allocations: 27.97 kB / 0.7731 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004275/0.4988, allocations: 303.1 kB / 0.7734 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4988, allocations: 3.938 kB / 0.7734 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008794/0.4997, allocations: 263.4 kB / 0.7736 GB, free: 11.75 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.002066/0.5018, allocations: 0.5934 MB / 0.7742 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002616/0.5044, allocations: 0.8704 MB / 0.7751 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5044, allocations: 0 / 0.7751 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001691/0.5061, allocations: 0.5452 MB / 0.7756 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005429/0.5066, allocations: 81.95 kB / 0.7757 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/0.5095, allocations: 1.316 MB / 0.777 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.5098, allocations: 294.7 kB / 0.7772 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006326/0.5104, allocations: 152.4 kB / 0.7774 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.5107, allocations: 72.44 kB / 0.7774 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.5107, allocations: 0 / 0.7774 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of Templates: time 0.02082/0.5315, allocations: 10.89 MB / 0.7881 GB, free: 13.14 MB / 0.6231 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 sys.exit(0), Time elapsed: 6.287850432097912] Failed to read output from testmodel.py, exit status != 0: 0.5409794710576534 0.556522117 0.125704978 Calling exit ...