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.001428/0.001428, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001487/0.001487, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.482/1.482, allocations: 225.6 MB / 249.4 MB, free: 3.02 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.002376/0.002376, allocations: 285.2 kB / 304.8 MB, free: 3.656 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.05/1.05, allocations: 180.9 MB / 0.5281 GB, free: 1.832 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.002858/0.002858, allocations: 107.8 kB / 0.7283 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5415/0.5443, allocations: 94.16 MB / 0.8202 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.005557/0.5499, allocations: 3.742 MB / 0.8239 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005577/0.5555, allocations: 3.562 MB / 0.8274 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.5558, allocations: 9.219 kB / 0.8274 GB, free: 14.93 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.0005152/0.5563, allocations: 120.7 kB / 0.8275 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.5575, allocations: 464.4 kB / 0.8279 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008929/0.5584, allocations: 404.3 kB / 0.8283 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008593/0.5592, allocations: 0.8105 MB / 0.8291 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.5595, allocations: 140.5 kB / 0.8293 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004309/0.5599, allocations: 332.1 kB / 0.8296 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005339/0.5604, allocations: 350.3 kB / 0.8299 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.5605, allocations: 69 kB / 0.83 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.5616, allocations: 0.4992 MB / 0.8305 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.5618, allocations: 182.2 kB / 0.8306 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003468/0.5621, allocations: 329.3 kB / 0.831 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.5636, allocations: 1.117 MB / 0.832 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5636, allocations: 5.125 kB / 0.832 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.136e-06/0.5636, allocations: 3.984 kB / 0.8321 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.5636, allocations: 0 / 0.8321 GB, free: 11.72 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002375/0.566, allocations: 1.049 MB / 0.8331 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.5661, allocations: 10.66 kB / 0.8331 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/0.5693, allocations: 0.5613 MB / 0.8336 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.5707, allocations: 0.631 MB / 0.8343 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.5708, allocations: 124.4 kB / 0.8344 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.484e-05/0.5709, allocations: 46.16 kB / 0.8344 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.5724, allocations: 0.6795 MB / 0.8351 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.5724, allocations: 0 / 0.8351 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.93e-05/0.5725, allocations: 20.62 kB / 0.8351 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.5725, allocations: 12.19 kB / 0.8351 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.5742, allocations: 0.7097 MB / 0.8358 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003658/0.5779, allocations: 1.865 MB / 0.8376 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/0.5806, allocations: 0.7901 MB / 0.8384 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008277/0.5815, allocations: 333.1 kB / 0.8387 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002121/0.5836, allocations: 1.769 MB / 0.8404 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.5846, allocations: 425.4 kB / 0.8408 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=56): time 3.075e-06/0.5846, allocations: 0 / 0.8408 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56): time 0.007305/0.5919, allocations: 1.509 MB / 0.8423 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.592, allocations: 109 kB / 0.8424 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006888/0.5927, allocations: 403.4 kB / 0.8428 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-05/0.5928, allocations: 36.27 kB / 0.8428 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.5931, allocations: 288.2 kB / 0.8431 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.5933, allocations: 197 kB / 0.8433 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.5935, allocations: 126.4 kB / 0.8434 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.5937, allocations: 355.1 kB / 0.8438 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007533/0.5945, allocations: 293.9 kB / 0.844 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009036/0.5954, allocations: 434.7 kB / 0.8445 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.5971, allocations: 0.6967 MB / 0.8451 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.5971, allocations: 1.062 kB / 0.8451 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004671/0.6018, allocations: 1.076 MB / 0.8462 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.6018, allocations: 7.031 kB / 0.8462 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.6018, allocations: 3.281 kB / 0.8462 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003415/0.6052, allocations: 379.7 kB / 0.8466 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000933/0.6061, allocations: 166.7 kB / 0.8467 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004486/0.6106, allocations: 2.167 MB / 0.8488 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008872/0.6115, allocations: 90.02 kB / 0.8489 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.581e-05/0.6116, allocations: 31.52 kB / 0.849 GB, free: 15.21 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.0003934/0.612, allocations: 213.3 kB / 0.8492 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.6121, allocations: 55.25 kB / 0.8492 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003345/0.6155, allocations: 1.07 MB / 0.8503 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.6155, allocations: 7.938 kB / 0.8503 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.6155, allocations: 0 / 0.8503 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.6155, allocations: 7.984 kB / 0.8503 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004122/0.6196, allocations: 1.75 MB / 0.852 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6196, allocations: 3.938 kB / 0.852 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007994/0.6204, allocations: 151.8 kB / 0.8521 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009533/0.6214, allocations: 140.7 kB / 0.8523 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.438e-05/0.6214, allocations: 23.91 kB / 0.8523 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002758/0.6242, allocations: 1.927 MB / 0.8542 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6242, allocations: 4.031 kB / 0.8542 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003008/0.6272, allocations: 1.027 MB / 0.8552 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/0.6275, allocations: 208.5 kB / 0.8554 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.6277, allocations: 12 kB / 0.8554 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006147/0.6283, allocations: 51.94 kB / 0.8554 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.6284, allocations: 44.59 kB / 0.8555 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.664e-05/0.6285, allocations: 31.97 kB / 0.8555 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004114/0.6289, allocations: 279.2 kB / 0.8558 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6289, allocations: 0 / 0.8558 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000861/0.6297, allocations: 239.4 kB / 0.856 GB, free: 8.02 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.001712/0.6315, allocations: 0.5091 MB / 0.8565 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002612/0.6341, allocations: 0.8523 MB / 0.8573 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6341, allocations: 0 / 0.8573 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.6353, allocations: 0.5178 MB / 0.8578 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.6359, allocations: 69.41 kB / 0.8579 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.6385, allocations: 1.243 MB / 0.8591 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006176/0.6391, allocations: 0.8889 MB / 0.86 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006185/0.6397, allocations: 144.5 kB / 0.8601 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.64, allocations: 71.39 kB / 0.8602 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of SimCode: time 9.22e-07/0.64, allocations: 0 / 0.8602 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of Templates: time 0.02006/0.66, allocations: 10.43 MB / 0.8704 GB, free: 9.406 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: 6.821854840964079]