Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.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.001441/0.001441, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.001465/0.001465, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.329/1.329, allocations: 225.6 MB / 248.5 MB, free: 3.633 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.002228/0.002228, allocations: 285.5 kB / 303.6 MB, free: 3.691 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.9941/0.9941, allocations: 180.9 MB / 0.5268 GB, free: 3.102 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.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002736/0.002736, allocations: 95.84 kB / 0.7259 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4534/0.4561, allocations: 94.16 MB / 0.8178 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.004014/0.4601, allocations: 3.719 MB / 0.8215 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003967/0.4641, allocations: 3.489 MB / 0.8249 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.4644, allocations: 9.344 kB / 0.8249 GB, free: 2.352 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.0005686/0.465, allocations: 126.7 kB / 0.825 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.4661, allocations: 452.6 kB / 0.8254 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008698/0.4669, allocations: 401.7 kB / 0.8258 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008092/0.4677, allocations: 0.81 MB / 0.8266 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002433/0.468, allocations: 136.8 kB / 0.8267 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004228/0.4684, allocations: 340 kB / 0.8271 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006114/0.469, allocations: 347.3 kB / 0.8274 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.4691, allocations: 69.25 kB / 0.8275 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000936/0.4701, allocations: 0.5045 MB / 0.8279 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.4703, allocations: 175.4 kB / 0.8281 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002911/0.4706, allocations: 326.6 kB / 0.8284 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.472, allocations: 1.125 MB / 0.8295 GB, free: 96 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.472, allocations: 2.594 kB / 0.8295 GB, free: 96 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.472, allocations: 0 / 0.8295 GB, free: 96 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.472, allocations: 0 / 0.8295 GB, free: 96 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002158/0.4742, allocations: 1.05 MB / 0.8305 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.4742, allocations: 9 kB / 0.8306 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002981/0.4772, allocations: 0.5631 MB / 0.8311 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.4785, allocations: 0.6292 MB / 0.8317 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.4787, allocations: 128 kB / 0.8318 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.768e-05/0.4787, allocations: 49.06 kB / 0.8319 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.4802, allocations: 0.6804 MB / 0.8326 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.4802, allocations: 0 / 0.8326 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.845e-05/0.4803, allocations: 20.62 kB / 0.8326 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.4803, allocations: 15.89 kB / 0.8326 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.482, allocations: 0.7095 MB / 0.8333 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003302/0.4853, allocations: 1.864 MB / 0.8351 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002564/0.4878, allocations: 0.8009 MB / 0.8359 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008031/0.4886, allocations: 326.7 kB / 0.8362 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001995/0.4906, allocations: 1.766 MB / 0.8379 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.4916, allocations: 431.1 kB / 0.8383 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=56): time 1.804e-06/0.4916, allocations: 0 / 0.8383 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56): time 0.006793/0.4984, allocations: 1.503 MB / 0.8398 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/0.4985, allocations: 110.3 kB / 0.8399 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006075/0.4991, allocations: 407.4 kB / 0.8403 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.239e-05/0.4992, allocations: 33.27 kB / 0.8403 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/0.4994, allocations: 282 kB / 0.8406 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.4996, allocations: 197.9 kB / 0.8408 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002729/0.4999, allocations: 125.8 kB / 0.8409 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.5001, allocations: 361.9 kB / 0.8412 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008529/0.501, allocations: 288.2 kB / 0.8415 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008931/0.5019, allocations: 432.8 kB / 0.8419 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.5035, allocations: 0.699 MB / 0.8426 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.5035, allocations: 1.188 kB / 0.8426 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004197/0.5077, allocations: 1.07 MB / 0.8437 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.5077, allocations: 8.125 kB / 0.8437 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.5077, allocations: 4.156 kB / 0.8437 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002975/0.5107, allocations: 376.9 kB / 0.844 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007756/0.5115, allocations: 162 kB / 0.8442 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004059/0.5155, allocations: 2.173 MB / 0.8463 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006835/0.5162, allocations: 87.98 kB / 0.8464 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.818e-05/0.5163, allocations: 34.69 kB / 0.8464 GB, free: 6.066 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {3} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003479/0.5166, allocations: 212.3 kB / 0.8466 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.5167, allocations: 51.95 kB / 0.8467 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00319/0.5199, allocations: 1.068 MB / 0.8477 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.5199, allocations: 15.2 kB / 0.8477 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5199, allocations: 1.406 kB / 0.8477 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.52, allocations: 7.125 kB / 0.8477 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003945/0.5239, allocations: 1.761 MB / 0.8495 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5239, allocations: 1.156 kB / 0.8495 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000695/0.5246, allocations: 147.7 kB / 0.8496 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008781/0.5255, allocations: 139.7 kB / 0.8497 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.5e-05/0.5255, allocations: 25.36 kB / 0.8498 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002663/0.5282, allocations: 1.918 MB / 0.8516 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5282, allocations: 0 / 0.8516 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/0.531, allocations: 1.026 MB / 0.8526 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.5313, allocations: 204.6 kB / 0.8528 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.792e-05/0.5314, allocations: 18.59 kB / 0.8529 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005647/0.532, allocations: 50.84 kB / 0.8529 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.5321, allocations: 55.25 kB / 0.853 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.964e-05/0.5322, allocations: 23.33 kB / 0.853 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003479/0.5325, allocations: 278.1 kB / 0.8532 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5325, allocations: 4 kB / 0.8532 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008711/0.5334, allocations: 236.6 kB / 0.8535 GB, free: 1.816 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 (67): * Single equations (assignments): 65 * 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 {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001769/0.5351, allocations: 0.5104 MB / 0.854 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002317/0.5375, allocations: 0.8559 MB / 0.8548 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5375, allocations: 1.375 kB / 0.8548 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.5386, allocations: 0.5123 MB / 0.8553 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.5391, allocations: 66.91 kB / 0.8554 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.5416, allocations: 1.291 MB / 0.8566 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005533/0.5421, allocations: 0.877 MB / 0.8575 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.5424, allocations: 78.06 kB / 0.8576 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.5424, allocations: 4 kB / 0.8576 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of Templates: time 0.01946/0.5619, allocations: 12.67 MB / 0.8699 GB, free: 8.363 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.865826500114053] Failed to read output from testmodel.py, exit status != 0: 0.5696294941008091 0.581536512 0.10690118400000001 Calling exit ...